aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-01 18:38:51 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-01 18:38:51 +0100
commit7c0cfea27764476ef0d7d99cdd07ca10496f79dd (patch)
treecd5fe94abeb1015b7e893ad66fbdd9623bcb46cf
parentfix preludes in bash scripts (diff)
downloadlinux-home-7c0cfea27764476ef0d7d99cdd07ca10496f79dd.tar.gz
linux-home-7c0cfea27764476ef0d7d99cdd07ca10496f79dd.zip
nnn: don't auto-enter directories
-rw-r--r--%HOME%/.profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/%HOME%/.profile b/%HOME%/.profile
index 5c25be3..6f01ed4 100644
--- a/%HOME%/.profile
+++ b/%HOME%/.profile
@@ -133,7 +133,8 @@ command -v fd > /dev/null 2>&1 \
&& export FZF_DEFAULT_COMMAND='fd --follow --show-errors --hidden --no-ignore-vcs 2> /dev/null'
# nnn
+# -A Don't auto-enter directories.
# -e Open text files in $EDITOR.
# -o Only open on Enter, not on l.
-export NNN_OPTS=eo
+export NNN_OPTS=Aeo
export NNN_PLUG='f:myfzcd'