Adds memes
This commit is contained in:
parent
553857b749
commit
e1a89c87f0
|
@ -147,3 +147,13 @@ def --env y [] {
|
|||
def cheat [] {
|
||||
pueue add -e evince ($env.HOME + '/git/gitea.tforgione.fr/tforgione/cheat/build/main.pdf')
|
||||
}
|
||||
|
||||
# meme completion
|
||||
def _meme [] {
|
||||
_ls ($env.HOME + '/Videos/Memes') | get name | each { rm-ext } | each { path basename }
|
||||
}
|
||||
|
||||
# Play a funny meme
|
||||
def m [arg: string@_meme] {
|
||||
mpv (glob ($env.HOME + '/Videos/Memes/' + $arg + '.*') | get 0)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue