diff options
author | Guangxiong Lin <[email protected]> | 2021-11-27 22:17:17 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-11-27 22:17:17 +0800 |
commit | 9a72f563a9572a06a172fbc98fd9c73e141f50b8 (patch) | |
tree | 901240560b37dca3762daa22ca4f46c189440454 | |
parent | 88877c1031be53e93b7cfcca848f1ed966b63e56 (diff) | |
download | dotfiles-9a72f563a9572a06a172fbc98fd9c73e141f50b8.tar.gz dotfiles-9a72f563a9572a06a172fbc98fd9c73e141f50b8.tar.bz2 dotfiles-9a72f563a9572a06a172fbc98fd9c73e141f50b8.zip |
Add environment variable TERMINAL
-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" |