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:
parent
cba8e92e1d
commit
06ab216290
11 changed files with 93 additions and 94 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue