correct symlink paths.
This commit is contained in:
+7
-4
@@ -2,6 +2,9 @@
|
||||
|
||||
# check if the files exist, and remove.
|
||||
|
||||
# get path where all files live.
|
||||
repo_path=`dirname $(readlink -f $0)`
|
||||
|
||||
if [ -f ~/.zshrc ]; then
|
||||
rm -f ~/.zshrc
|
||||
fi
|
||||
@@ -15,7 +18,7 @@ if [ -f ~/.vimrc ]; then
|
||||
rm -f ~/.vimrc
|
||||
fi
|
||||
|
||||
ln -s $(pwd)/.zshrc ~/.zshrc
|
||||
ln -s $(pwd)/.p10k.zsh ~/.p10k.zsh
|
||||
ln -s $(pwd)/.aliases ~/.aliases
|
||||
ln -s $(pwd)/.vimrc ~/.vimrc
|
||||
ln -s $repo_path/.zshrc ~/.zshrc
|
||||
ln -s $repo_path/.p10k.zsh ~/.p10k.zsh
|
||||
ln -s $repo_path/.aliases ~/.aliases
|
||||
ln -s $repo_path/.vimrc ~/.vimrc
|
||||
Reference in New Issue
Block a user