diff options
Diffstat (limited to 'config/essentials/shell')
-rw-r--r-- | config/essentials/shell/functions.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 1a2e9d8..0f12206 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -356,6 +356,7 @@ prj() { prje() { prj || return 1 f="$(git ls-files | fzf)" + [ "$f" ] || exit 1 if [ -f "$f" ] then "$EDITOR" "$f" |