aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.profile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-09-24 23:14:43 +0200
committerEgor Tensin <egor@tensin.name>2024-09-24 23:14:49 +0200
commit4f57b9085ac486a53194a38e81fc19c02df2b573 (patch)
treebd9247c98a6758f39ccdc100b3c1e377f9218e3a /%HOME%/.profile
parentfix a typo (diff)
downloadlinux-home-4f57b9085ac486a53194a38e81fc19c02df2b573.tar.gz
linux-home-4f57b9085ac486a53194a38e81fc19c02df2b573.zip
nnn: fix the list of archive formats
I do have atool, and it handle a lot more than the default list.
Diffstat (limited to '')
-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)$"