zsh: realized some things need to be functions

By that, I mean things that change my working directory need to be
functions
This commit is contained in:
PowerUser64 2022-01-01 18:24:20 -08:00
parent cba8e92e1d
commit 06ab216290
11 changed files with 93 additions and 94 deletions

View file

@ -3,6 +3,6 @@
# for sending error messages from functions and whatnot
ERROR_CODE="$?"
>&2 echo "An error occurred within a function in the .zshrc on line number ${1}"
>&2 echo "$0: An error occurred on line number ${1}"
return $ERROR_CODE