Files
linux-config/setup_symlinks.sh
T

18 lines
301 B
Bash
Executable File

#!/bin/sh
# check if the files exist, and remove.
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
ln -s $(pwd)/.zshrc ~/.zshrc
ln -s $(pwd)/.p10k.zsh ~/.p10k.zsh
ln -s $(pwd)/.aliases ~/.aliases