From f3c1aba150c5c44d7bcdae68d95ff8b65fe11a99 Mon Sep 17 00:00:00 2001 From: ShadowEO Date: Tue, 8 Sep 2020 03:13:26 -0400 Subject: [PATCH] Fixed a bug where the new links were inside the conditional for backing up an existing .zshrc --- ellipsis.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ellipsis.sh b/ellipsis.sh index 6194436..57cd637 100755 --- a/ellipsis.sh +++ b/ellipsis.sh @@ -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() {