Rename stuff to prepare for gnu stow.

This commit is contained in:
Ian Rettig
2024-02-13 09:28:42 -05:00
parent 6915fc1fc7
commit 1b22102296
3 changed files with 33 additions and 33 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/bin/sh
# 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
if [ -f ~/.p10k.zsh ]; then
rm -f ~/.p10k.zsh
fi
if [ -f ~/.aliases ]; then
rm -f ~/.aliases
fi
if [ -f ~/.vimrc ]; then
rm -f ~/.vimrc
fi
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