zsh: Added helper function to convert webp to jpg
This commit is contained in:
parent
3572cee7ea
commit
c22fd22249
8
.zshrc
8
.zshrc
|
@ -7,6 +7,14 @@ source $ZSH/oh-my-zsh.sh
|
|||
alias magit="emacs -nw --eval '(progn (magit-status) (delete-other-windows))'"
|
||||
alias ytdlf="youtube-dl -a ./youtube-dl.txt -f best -o \"./%(playlist_title)s/%(playlist_index)s_%(title)s.%(ext)s\""
|
||||
|
||||
function webp2jpg {
|
||||
for x in ls *.webp; do
|
||||
ffmpeg -i "$x" "${x%.webp}.jpg";
|
||||
done
|
||||
|
||||
rm *.webp
|
||||
}
|
||||
|
||||
# GPG tty
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
|
|
Loading…
Reference in New Issue