Fixed a bug where the new links were inside the conditional for backing up an existing .zshrc
This commit is contained in:
@@ -41,10 +41,11 @@ pkg.install() {
|
||||
# We found one, let's back it up and then move it to the shell configuration folder!
|
||||
cp $HOME/.zshrc $HOME/.zshrc.beforeInstall
|
||||
mv $HOME/.zshrc $HOME/.shell/login.d/01originalRC.zsh
|
||||
fs.link_rfile $PKG_PATH/01shell-framework.zsh $HOME/.shell/login.d/01shell-framework.zsh
|
||||
fs.link_rfule $PKG_PATH/03shell-apply.zsh $HOME/.shell/login.d/03shell-apply.zsh
|
||||
echo "Your previous .zshrc has been moved to $HOME/.shell/login.d/01originalRC.zsh and will continue to be executed on startup."
|
||||
fi
|
||||
fs.link_rfile $PKG_PATH/01shell-framework.zsh $HOME/.shell/login.d/01shell-framework.zsh
|
||||
fs.link_rfule $PKG_PATH/03shell-apply.zsh $HOME/.shell/login.d/03shell-apply.zsh
|
||||
|
||||
}
|
||||
|
||||
pkg.uninstall() {
|
||||
|
||||
Reference in New Issue
Block a user