aboutsummaryrefslogtreecommitdiff
path: root/.nnnrc
blob: 8f12cc238160c12acd80ab2a596659aad423cf0e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env sh

if [ ! -d $HOME/.config/nnn/plugins ]; then
    curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs | sh
fi

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

alias n="nnn"