File tree Expand file tree Collapse file tree 3 files changed +31
-23
lines changed Expand file tree Collapse file tree 3 files changed +31
-23
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # ANSI color codes
4
+ RED=' \033[0;31m'
5
+ GREEN=' \033[0;32m'
6
+ YELLOW=' \033[1;33m'
7
+ NC=' \033[0m' # No Color
8
+
9
+ # zsh
10
+ echo -e " ${YELLOW} [zsh] Installing zsh...${NC} "
11
+ sudo apt install zsh -y
12
+
13
+ # oh-my-zsh
14
+ echo -e " ${YELLOW} [oh-my-zsh] Installing oh-my-zsh...${NC} "
15
+ sh -c " $( curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) "
16
+
17
+ # don't forget
18
+ echo -e " ${GREEN} zsh setup complete! For changes to take effect, you'll probably need to reboot!${NC} "
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # ANSI color codes
4
+ RED=' \033[0;31m'
5
+ GREEN=' \033[0;32m'
6
+ YELLOW=' \033[1;33m'
7
+ NC=' \033[0m' # No Color
8
+
9
+ # zsh plugins
10
+ echo -e " ${YELLOW} [plugins] Installing oh-my-zsh plugins...${NC} "
11
+ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:- ~/ .oh-my-zsh/ custom} /plugins/zsh-autosuggestions
12
+ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:- ~/ .oh-my-zsh/ custom} /plugins/zsh-syntax-highlighting
13
+ echo -e " ${YELLOW} [plugins] Don't forget to append the plugins to ~/.zshrc...${NC} "
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments