blob: 3890592391f7f74b0e342c237be04974f3626043 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
if command -v nnn >/dev/null 2>&1; then
export NNN_BMS="h:~;s:~/src;d:~/downloads;e:/etc;u:/usr;p:/etc/portage;t:/tmp"
export NNN_PLUG="j:autojump"
export NNN_MULTISCRIPT=1
export NNN_NO_AUTOSELECT=1
export NNN_OPENER="nuke"
export NNN_QUOTE_ON=1
export NNN_TMPFILE="${XDG_CACHE_HOME}/nnn"
export NNN_TRASH=0
export NNN_USE_EDITOR=1
alias f="nnn"
# shellcheck disable=SC2139
alias ncp="cat ${NNN_TMPFILE}/.selection | tr '\0' '\n'"
fi
|