fix: automatically add double quotes for links passed to v or m abbreviations

pull/1/head
anemofilia 2023-08-13 07:56:55 -03:00
parent f7f71f5fe4
commit d77cb82012
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
abbr --add m 'yt-dlp --prefer-free-formats --extract-audio' abbr --add m --set-cursor 'yt-dlp --prefer-free-formats --extract-audio "%"'
abbr --add v 'yt-dlp --prefer-free-formats' abbr --add v --set-cursor 'yt-dlp --prefer-free-formats "%"'
abbr --add zedit --set-cursor "zcat % | $EDITOR" abbr --add zedit --set-cursor "zcat % | $EDITOR"
abbr --add tf --set-cursor 'setsid -f % >/dev/null 2>&1 & disown' abbr --add tf --set-cursor 'setsid -f %>/dev/null 2>&1 & disown'
abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b' abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b'
abbr --add mpv --position anywhere --set-cursor 'mpv "%"' abbr --add mpv --position anywhere --set-cursor 'mpv "%"'