aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.env6
-rwxr-xr-x.nnnrc7
2 files changed, 7 insertions, 6 deletions
diff --git a/.env b/.env
index c15332b..8e39ca9 100644
--- a/.env
+++ b/.env
@@ -1 +1,7 @@
export BROWSER='firefox --new-tab'
+
+TERMINAL=xterm
+if [[ $TERM =~ 'st' ]]; then
+ TERMINAL=st
+fi
+export TERMINAL=$TERMINAL
diff --git a/.nnnrc b/.nnnrc
index 75885d4..8f12cc2 100755
--- a/.nnnrc
+++ b/.nnnrc
@@ -8,9 +8,4 @@ export NNN_PLUG='f:fzcd;v:imgview;j:autojump;p:preview-tui'
[ -f /usr/bin/trash ] && export NNN_TRASH=1
export NNN_FIFO=/tmp/nnn.fifo
-TERMINAL=xterm
-if [[ $TERM =~ 'st' ]]; then
- TERMINAL=st
-fi
-
-alias n="TERMINAL=$TERMINAL nnn"
+alias n="nnn"