zsh: almost all functions are scripts now (part 2)
This commit is contained in:
parent
75c3986785
commit
ec0cee28d9
14 changed files with 287 additions and 0 deletions
8
.config/shell/bin/error
Executable file
8
.config/shell/bin/error
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue