Skip to content

Commit 016ade3

Browse files
committed
feat: zsh stuff
1 parent d5e97d6 commit 016ade3

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# the-script
2-
The mighty script that automates my never-ending distro hopping, or what I like to call it "false productivity" aka procrastination.
2+
3+
The mighty script that automates my never-ending distro hopping, or what I like to call it "false productivity" aka procrastination.
34

45
This script covers:
6+
57
- [x] `build-essential`
68
- [x] Python
79
- [x] Git
810
- [x] Github ssh key
911
- [x] Java
1012
- [x] Maven
11-
- [ ] `zsh` support
13+
- [x] `zsh` support
1214
- [ ] Docker 🐳
1315

1416
## Contribution
17+
1518
If you by any chance stumbled upon this repo (which most likely should have been a Gist) and wish to correct something or update anything outdated, don't be afraid to contribute!

zsh_stuff.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
# plugins
18+
echo -e "${YELLOW}[plugins] Installing oh-my-zsh plugins...${NC}"
19+
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
20+
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
21+
echo -e "${YELLOW}[plugins] Don't forget to append the plugins to ~/.zshrc...${NC}"
22+
23+
echo -e "${GREEN} zsh setup complete! For changes to take effect, you'll probably need to reboot!${NC}"

0 commit comments

Comments
 (0)