files.sh (257B)
1 #!/bin/sh 2 3 # Have to specify the variables as part of the command, otherwise if tmux is open elsewhere, it won't inherit environmental variables set here 4 tmux new-session -d -s mys "NNN_FIFO=/tmp/nnn.fifo NNN_PLUG=v:preview-tui nnn -P v" 5 tmux attach -t mys