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