Pdf opens in pueue
This commit is contained in:
parent
e9f051f700
commit
83197645fc
|
@ -70,6 +70,6 @@ def to-md [] {
|
||||||
# Useful aliases
|
# Useful aliases
|
||||||
alias v = nvim
|
alias v = nvim
|
||||||
alias :q = exit
|
alias :q = exit
|
||||||
alias pdf = evince
|
alias pdf = pueue add evince
|
||||||
alias rg = rg -uu
|
alias rg = rg -uu
|
||||||
def-env mkcd [dir: string] { mkdir $dir; cd $dir }
|
def-env mkcd [dir: string] { mkdir $dir; cd $dir }
|
||||||
|
|
|
@ -19,6 +19,10 @@ def _pass_completion [] {
|
||||||
}
|
}
|
||||||
|
|
||||||
export extern "pass" [ host?: string@_pass_completion ]
|
export extern "pass" [ host?: string@_pass_completion ]
|
||||||
|
|
||||||
def p [ arg: string@_pass_completion ] { pass $arg }
|
def p [ arg: string@_pass_completion ] { pass $arg }
|
||||||
def pc [ arg: string@_pass_completion ] { pass --clip $arg }
|
def pc [ arg: string@_pass_completion ] { pass --clip $arg }
|
||||||
|
def ppdf [p: string] {
|
||||||
|
pc thomas/key/pdf
|
||||||
|
pueue add evince $p
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue