Dernière activité 1754475957

install-ohmyzsh.sh Brut
1apt update && apt install zsh git curl rsync net-tools dnsutils htop iotop tmux gnupg2 fonts-font-awesome fonts-powerline -y
2
3sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
4git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
5git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
6
7git clone https://github.com/JannoTjarks/catppuccin-zsh.git
8mkdir ~/.oh-my-zsh/themes/catppuccin-flavors
9mv catppuccin-zsh/catppuccin.zsh-theme /root/.oh-my-zsh/themes
10mv catppuccin-zsh/catppuccin-flavors/ /root/.oh-my-zsh/themes/
11mv catppuccin-zsh/.zshrc /root/.zshrc
12source /root/.zshrc
13
14curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh
15
16curl https://gist.palmasolutions.net/Malin/cdaff97731544c13a06e95bf94365959/raw/HEAD/.zshrc --output /root/.zshrc && source /root/.zshrc
17
18ZSH_THEME="catppuccin"
19CATPPUCCIN_FLAVOR="mocha" # Required! Options: mocha, flappe, macchiato, latte
20CATPPUCCIN_SHOW_TIME=true # Optional! If set to true, this will add the current time to the prompt.
21
22mkdir -p ~/.config/tmux/plugins/catppuccin
23git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux
24echo "run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux" >> ~/.tmux.conf
25tmux source ~/.tmux.conf