# Main
if [ $isVoid ]; then
- ln -sf /git/dotAle/.zshrc ~/.zshrc
- ln -sf /git/dotAle/.gitconfig ~/.gitconfig
+ ln -sf /git/dotAle/.zshrc /home/ale/.zshrc
+ ln -sf /git/dotAle/.gitconfig /home/ale/.gitconfig
mkdir -p /home/ale/.config
mkdir -p /home/ale/.cache/zsh
touch /home/ale/.cache/zsh/hist
fi
ln -sf /git/dotAle/config/${dir##*/} /home/ale/.config/
done
- if [ -f ~/.zcompdump ]; then
- rm ~/.zcompdump
+ if [ -f /home/ale/.zcompdump ]; then
+ rm /home/ale/.zcompdump
fi
- mkdir -p ~/.ssh
- ln -sf /git/dotAle/ssh/* ~/.ssh/
+ mkdir -p /home/ale/.ssh
+ ln -sf /git/dotAle/ssh/* /home/ale/.ssh/
else
- ln -sf /git/dotAle/.bashrc ~/.bashrc
- ln -sf /git/dotAle/.gitconfig ~/.gitconfig
- mkdir -p ~/.config
- cp -r /git/dotAle/config/* ~/.config/
- rm -rf ~/.config/zsh
- mkdir -p ~/.ssh
- ln -sf /git/dotAle/ssh/* ~/.ssh/
+ ln -sf /git/dotAle/.bashrc /home/ale/.bashrc
+ ln -sf /git/dotAle/.gitconfig /home/ale/.gitconfig
+ mkdir -p /home/ale/.config
+ cp -r /git/dotAle/config/* /home/ale/.config/
+ rm -rf /home/ale/.config/zsh
+ mkdir -p /home/ale/.ssh
+ ln -sf /git/dotAle/ssh/* /home/ale/.ssh/
fi