aboutsummaryrefslogtreecommitdiff
path: root/.nnnrc
blob: 33c9e33c391a337f5c660e6c91bef828814abfd6 (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-tabbed'
[ -f /usr/bin/trash ] && export NNN_TRASH=1
export NNN_FIFO=/tmp/nnn.fifo

alias n='nnn'