mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
fix nnn plugins
This commit is contained in:
parent
6ba6372f0f
commit
fdb15e0824
@ -49,11 +49,3 @@
|
||||
type = "git-repo"
|
||||
url = "https://codeberg.org/xmobar/xmobar"
|
||||
refreshPeriod = "168h"
|
||||
|
||||
[".config/nnn/plugins"]
|
||||
type = "archive"
|
||||
url = "https://github.com/jarun/nnn/archive/master.zip"
|
||||
exact = true
|
||||
stripComponents = 2
|
||||
refreshPeriod = "168h"
|
||||
include = ["*/plugins/**"]
|
||||
|
7
home/dot_config/nnn/plugins/executable_getdrop
Executable file
7
home/dot_config/nnn/plugins/executable_getdrop
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ ! -e "$1" ] ; then
|
||||
git annex get "$1"
|
||||
else
|
||||
git annex drop "$1"
|
||||
fi
|
@ -70,6 +70,6 @@ alias xl="void-list-packages"
|
||||
# nnn
|
||||
alias n="nnn -e"
|
||||
export NNN_FCOLORS='0000E6310000000000000000'
|
||||
export NNN_PLUG='f:finder;o:fzopen;d:diffs;t:nmount;v:imgview;q:preview-tui;g:getdrop'
|
||||
export NNN_PLUG='g:getdrop'
|
||||
export NNN_FIFO="/tmp/nnn.fifo"
|
||||
export NNN_TRASH=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user