moving link location
This commit is contained in:
parent
73697b858b
commit
9f36636f5d
10
link.sh
10
link.sh
|
@ -2,6 +2,8 @@
|
|||
|
||||
folders=($(ls $PWD/config))
|
||||
files=("bashrc" "zshrc" "profile" "xbindkeysrc" "xprofile")
|
||||
projdir="/projects"
|
||||
localdir="$HOME/.local/share"
|
||||
|
||||
for folder in "${folders[@]}"; do
|
||||
ln -sf $PWD/config/$folder $HOME/.config/
|
||||
|
@ -13,9 +15,9 @@ done
|
|||
|
||||
# TODO Clean me up
|
||||
mkdir -p $HOME/.config/zsh/{plugins,zprompts}
|
||||
git clone https://github.com/xylous/gitstatus $HOME/Projects/gitstatus
|
||||
ln -sf $HOME/Projects/gitstatus/gitstatus.plugin.zsh $HOME/.config/zsh/plugins/gitstatus.zsh
|
||||
git clone https://github.com/xylous/gitstatus $localdir/gitstatus
|
||||
ln -sf $HOME/.local/share/gitstatus/gitstatus.plugin.zsh $HOME/.config/zsh/plugins/gitstatus.zsh
|
||||
ln -sf $PWD/zprompts/bunni.zsh $HOME/.config/zsh/zprompts/prompt_bunni_setup
|
||||
|
||||
git clone https://gitlab.com/code-stats/code-stats-zsh $HOME/Projects/code-stats-zsh
|
||||
ln -sf $HOME/Projects/code-stats-zsh/codestats.plugin.zsh $HOME/.config/zsh/plugins/codestats.zsh
|
||||
git clone https://gitlab.com/code-stats/code-stats-zsh $localdir/code-stats-zsh
|
||||
ln -sf $localdir/code-stats-zsh/codestats.plugin.zsh $HOME/.config/zsh/plugins/codestats.zsh
|
||||
|
|
Loading…
Reference in New Issue