8 lines
187 B
Bash
Executable file
8 lines
187 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# 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}"
|
|
return $ERROR_CODE
|
|
|