diff --git a/shell_extras b/shell_extras index c384008..590c862 100644 --- a/shell_extras +++ b/shell_extras @@ -28,14 +28,7 @@ alias ghpr="gh pr create -w" # Autoupdates the env setup. function env_autoupdate { - SHELL_CONFIG_PATH="" - - if [[ -n $(echo $SHELL | grep zsh) ]]; then - SHELL_CONFIG_PATH="$HOME/.zshrc" - else - SHELL_CONFIG_PATH="$HOME/.bashrc" - fi - + SHELL_CONFIG_PATH="$HOME/.zshrc" { cd ~/.env_goodies