-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.zsh
executable file
·39 lines (28 loc) · 975 Bytes
/
install.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#! /usr/bin/env zsh
# --- Zsh ---
echo "Init ZSH"
ZSH_PLUG_PATH=$HOME/.config/zsh/plugins
ZSH_THEMES_PATH=$HOME/.config/zsh/themes
# Plugins
echo "Creating folders path $(ZSH_PLUG_PATH)"
mkdir -p $ZSH_PLUG_PATH
git clone [email protected]:zsh-users/zsh-autosuggestions.git $ZSH_PLUG_PATH
# Themes
echo "Creating folders path $(ZSH_THEMES_PATH)"
mkdir -p $ZSH_THEMES_PATH
git clone --depth=1 https://github.com/spaceship-prompt/spaceship-prompt.git $ZSH_THEMES_PATH
# .zshrc
ln -s "$(pwd)/zsh/.zshrc" ~/.zshrc
# --- Nvim ---
echo "Init Neovim"
ln -s "$(pwd)/neovim" ~/.config/nvim
# --- Tmux ---
echo "Init Tmux"
TMUX_CONF_PATH=$HOME/.config/tmux
echo "Creating folders path $(TMUX_CONF_PATH)"
mkdir -p $TMUX_CONF_PATH
ln -s "$(pwd)/tmux/.tmux.base.conf" $TMUX_CONF_PATH
ln -s "$(pwd)/tmux/.tmux.bindings.conf" $TMUX_CONF_PATH
ln -s "$(pwd)/tmux/.tmux.theme.conf" $TMUX_CONF_PATH
ln -s "$(pwd)/tmux/.tmux.conf" $TMUX_CONF_PATH
echo "Config successfully created! 🚀"