From 9f36636f5d189424f3231d2bf137864f27998e98 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Fri, 28 Apr 2023 18:31:09 +0300 Subject: [PATCH] moving link location --- link.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/link.sh b/link.sh index ba38daa..ed249ca 100755 --- a/link.sh +++ b/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