aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.profile
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%/.profile')
-rw-r--r--%HOME%/.profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/%HOME%/.profile b/%HOME%/.profile
index f4575c2..3ca3cf6 100644
--- a/%HOME%/.profile
+++ b/%HOME%/.profile
@@ -133,5 +133,11 @@ command -v fd > /dev/null 2>&1 \
# -e Open text files in $EDITOR.
# -o Only open on Enter, not on l.
export NNN_OPTS=Aeo
+
export NNN_PLUG='f:myfzcd'
export NNN_BMS="d:$HOME/Downloads;w:$HOME/workspace/personal"
+
+# For some reason, nnn doesn't support all of the formats by default, I don't
+# know why. Apparently, this is the workaround, source:
+# https://github.com/jarun/nnn/wiki/Usage
+export NNN_ARCHIVE="\\.(7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)$"