diff options
-rw-r--r-- | .env | 6 | ||||
-rwxr-xr-x | .nnnrc | 7 |
2 files changed, 7 insertions, 6 deletions
@@ -1 +1,7 @@ export BROWSER='firefox --new-tab' + +TERMINAL=xterm +if [[ $TERM =~ 'st' ]]; then + TERMINAL=st +fi +export TERMINAL=$TERMINAL @@ -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" |