From 6c650e4fce5ab1c6488f120a80c2400d8972fffa Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 7 Dec 2022 15:47:22 +0100 Subject: fix preludes in bash scripts --- %HOME%/.config/nnn/plugins/myfzcd | 1 + 1 file changed, 1 insertion(+) (limited to '%HOME%/.config/nnn/plugins/myfzcd') diff --git a/%HOME%/.config/nnn/plugins/myfzcd b/%HOME%/.config/nnn/plugins/myfzcd index 36bfb24..30b5ebe 100755 --- a/%HOME%/.config/nnn/plugins/myfzcd +++ b/%HOME%/.config/nnn/plugins/myfzcd @@ -3,6 +3,7 @@ # Like the fzcd plugin, but better. set -o errexit -o pipefail +shopt -s inherit_errexit lastpipe if command -v fzf > /dev/null 2>&1; then sel="$( fzf )" -- cgit v1.2.3