feat:
- Grouping files in the deploy script by purpose. - Adding the npmrc file
This commit is contained in:
parent
fe78ab659d
commit
6faf8a1641
21
deploy.sh
21
deploy.sh
@ -4,6 +4,11 @@ then
|
|||||||
ln -fs $PWD/zshrc $HOME/.zshrc
|
ln -fs $PWD/zshrc $HOME/.zshrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -L $HOME/.oh-my-zsh/custom/themes ]
|
||||||
|
then
|
||||||
|
ln -fs $PWD/fb-custom.zsh-theme $HOME/.oh-my-zsh/custom/themes/fb-custom.zsh-theme
|
||||||
|
fi
|
||||||
|
|
||||||
# Neovim
|
# Neovim
|
||||||
mkdir -p $HOME/.config/nvim
|
mkdir -p $HOME/.config/nvim
|
||||||
if [ ! -L $HOME/.config/nvim/init.lua ]
|
if [ ! -L $HOME/.config/nvim/init.lua ]
|
||||||
@ -16,24 +21,26 @@ then
|
|||||||
ln -fs $PWD/nvim/lua $HOME/.config/nvim/lua
|
ln -fs $PWD/nvim/lua $HOME/.config/nvim/lua
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -L $HOME/.config/nvim/snippets ]
|
||||||
|
then
|
||||||
|
ln -fs $PWD/nvim/snippets $HOME/.config/nvim/snippets
|
||||||
|
fi
|
||||||
|
|
||||||
# Tmux
|
# Tmux
|
||||||
if [ ! -L $HOME/.tmux.conf ]
|
if [ ! -L $HOME/.tmux.conf ]
|
||||||
then
|
then
|
||||||
ln -fs $PWD/tmux.conf $HOME/.tmux.conf
|
ln -fs $PWD/tmux.conf $HOME/.tmux.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Wezterm terminal emulator
|
||||||
if [ ! -L $HOME/.config/wezterm/wezterm.lua ]
|
if [ ! -L $HOME/.config/wezterm/wezterm.lua ]
|
||||||
then
|
then
|
||||||
mkdir -p $HOME/.config/wezterm
|
mkdir -p $HOME/.config/wezterm
|
||||||
ln -fs $PWD/wezterm.lua $HOME/.config/wezterm/wezterm.lua
|
ln -fs $PWD/wezterm.lua $HOME/.config/wezterm/wezterm.lua
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -L $HOME/.config/nvim/snippets ]
|
# Nodejs
|
||||||
|
if [ ! -L $HOME/.npmrc ]
|
||||||
then
|
then
|
||||||
ln -fs $PWD/nvim/snippets $HOME/.config/nvim/snippets
|
ln -fs $PWD/npmrc $HOME/.npmrc
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -L $HOME/.oh-my-zsh/custom/themes ]
|
|
||||||
then
|
|
||||||
ln -fs $PWD/fb-custom.zsh-theme $HOME/.oh-my-zsh/custom/themes/fb-custom.zsh-theme
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user