commit 9d6ba5c

Emilia Smólska  ·  2026-06-13 22:58:24 +0000 UTC
parent 40d2afd
Add fish completion example
1 files changed,  +5, -0
M README
M README
+5, -0
 1@@ -15,5 +15,10 @@ Ksh(1) completion example:
 2 set -A complete_haslo_1 -- gen get put list
 3 set -A complete_haslo_2 -- $(haslo list)
 4 
 5+Fish(1) completion example:
 6+complete -c haslo -f
 7+complete -c haslo -n 'not __fish_seen_subcommand_from gen get put list' -a 'gen get put list'
 8+complete -c haslo -n '__fish_seen_subcommand_from get' -a "$(haslo list)"
 9+
10 License:
11 Haslo is public domain software.