Skip to content

Commit c18486b

Browse files
committed
fix zsh plugins not cloning
1 parent 016ade3 commit c18486b

File tree

3 files changed

+31
-23
lines changed

3 files changed

+31
-23
lines changed

zsh.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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}"

zsh_plugins.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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}"

zsh_stuff.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)