Pdf opens in pueue

This commit is contained in:
Thomas Forgione 2023-11-14 10:38:28 +01:00
parent e9f051f700
commit 83197645fc
2 changed files with 6 additions and 2 deletions

View File

@ -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 }

View File

@ -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
}