Simplification

This commit is contained in:
Nox Sluijtman 2023-11-11 13:29:35 +01:00
parent 0703487e4d
commit d4da13c3ea
6 changed files with 55 additions and 68 deletions

View file

@ -1,12 +1,9 @@
#compdef _open-bookmark open-bookmark
_arguments : \
"(-f -r -d -R -h)-f[use 'fzf' to open bookmarks file]" \
"(-s -r -d -R -h)-r[use 'rofi' to open bookmarks file]" \
"(-s -f -d -R -h)-s[use 'sk' to open bookmarks file]" \
"(-s -f -r -R -h)-d[use '$MENU' to open bookmarks file]" \
"(-s -f -r -d -h)-R[open random bookmark]" \
"(-s -f -r -d -R)-h[print usage and exit]"
"(-R -h)-c[menu command]:dmenu-like program" \
"(-h -c)-R[copy random bookmark]" \
"(-R -c)-h[print usage and exit]"
_arguments : $arguments