diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-07 15:47:22 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-07 15:47:22 +0100 |
commit | 6c650e4fce5ab1c6488f120a80c2400d8972fffa (patch) | |
tree | 114554f2bde41f6fb9a69b7ce13c3fb2545b1326 /%HOME%/.config/nnn/plugins/myfzcd | |
parent | gdb: increase history size (diff) | |
download | linux-home-6c650e4fce5ab1c6488f120a80c2400d8972fffa.tar.gz linux-home-6c650e4fce5ab1c6488f120a80c2400d8972fffa.zip |
fix preludes in bash scripts
Diffstat (limited to '')
-rwxr-xr-x | %HOME%/.config/nnn/plugins/myfzcd | 1 |
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 )" |