aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.config/nnn/plugins/myfzcd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x%HOME%/.config/nnn/plugins/myfzcd3
1 files changed, 2 insertions, 1 deletions
diff --git a/%HOME%/.config/nnn/plugins/myfzcd b/%HOME%/.config/nnn/plugins/myfzcd
index 30b5ebe..925849f 100755
--- a/%HOME%/.config/nnn/plugins/myfzcd
+++ b/%HOME%/.config/nnn/plugins/myfzcd
@@ -3,7 +3,8 @@
# Like the fzcd plugin, but better.
set -o errexit -o pipefail
-shopt -s inherit_errexit lastpipe
+shopt -s inherit_errexit 2> /dev/null || true
+shopt -s lastpipe
if command -v fzf > /dev/null 2>&1; then
sel="$( fzf )"