aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.config/nnn/plugins/myfzcd
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-12-07 15:47:22 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-12-07 15:47:22 +0100
commit6c650e4fce5ab1c6488f120a80c2400d8972fffa (patch)
tree114554f2bde41f6fb9a69b7ce13c3fb2545b1326 /%HOME%/.config/nnn/plugins/myfzcd
parentgdb: increase history size (diff)
downloadlinux-home-6c650e4fce5ab1c6488f120a80c2400d8972fffa.tar.gz
linux-home-6c650e4fce5ab1c6488f120a80c2400d8972fffa.zip
fix preludes in bash scripts
Diffstat (limited to '')
-rwxr-xr-x%HOME%/.config/nnn/plugins/myfzcd1
1 files changed, 1 insertions, 0 deletions
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 )"