FollieHiyuki-dotfiles/home/.config/fish/functions/n2.fish
2021-02-13 19:28:59 +03:00

6 lines
190 B
Fish

function n2 -d "Start nnn in dual pane (tmux)"
tmux new-session -d -s nnn -n nnn "nnn -Hc"
tmux split-window -h "nnn -Hc"
TERM=screen-256color command tmux attach -t nnn:nnn
end