Commit Graph

1623 Commits

Author SHA1 Message Date
Shohei YOSHIDA be63667ca5
fix help item completion 2026-03-19 19:01:53 +09:00
Shohei YOSHIDA 986177c01f
Refactor pre-commit
- simplify the code
- reduce global variables
- add completing functions for remote names, branches, refs
2026-03-17 09:46:18 +09:00
Shohei YOSHIDA bce05f9352
Merge pull request #1236 from zsh-users/refactor_gist
Refactor gist and fix cache broken cache implementation
2026-03-16 15:10:54 +09:00
Shohei YOSHIDA 504b84f000
Merge pull request #1235 from zsh-users/refactor_cmake
Refactor cmake completion
2026-03-16 15:09:55 +09:00
Shohei YOSHIDA 84d9053354
Merge pull request #1234 from zsh-users/refactor_cf
Refactoring _cf completion
2026-03-16 14:54:01 +09:00
Shohei YOSHIDA 51025ba738
Merge pull request #1237 from zsh-users/refactor-cask
Refactor cask completion
2026-03-16 14:37:26 +09:00
Shohei YOSHIDA 83748eefc0
Merge pull request #1238 from zsh-users/refactor_git_flow
Refactor git flow
2026-03-16 14:13:23 +09:00
Shohei YOSHIDA 8ef1a35c32
Merge pull request #1239 from zsh-users/refactor_openvpn3
Refactor openvpn3
2026-03-16 14:12:18 +09:00
Shohei YOSHIDA 31236f26de
Use git_flow prefix instead of git for functions 2026-03-15 22:14:52 +09:00
Shohei YOSHIDA 8758ee4809
Use local variables 2026-03-15 22:11:41 +09:00
Shohei YOSHIDA 45f8084e70
Don't use global variables 2026-03-15 22:09:37 +09:00
Shohei YOSHIDA d1180f126a
Add global options 2026-03-15 15:14:40 +09:00
Shohei YOSHIDA 96316552ea
Merge two switch-case 2026-03-15 15:08:37 +09:00
Shohei YOSHIDA 0dce3a833b
Don't overwrite context variables 2026-03-15 15:08:30 +09:00
Shohei YOSHIDA da6814a485
Don't use global variables 2026-03-15 15:04:17 +09:00
Shohei YOSHIDA b9c943a9e8
Fix cache implementation 2026-03-15 13:24:57 +09:00
Shohei YOSHIDA 5c4fd5c1c5
Don't use global variables 2026-03-15 12:08:49 +09:00
Shohei YOSHIDA e534d39076
simplify assignments and remove needless functions 2026-03-14 21:04:01 +09:00
Shohei YOSHIDA 8e505348f3
Reduce top level local variables, use function local variables instead 2026-03-14 20:56:20 +09:00
Shohei YOSHIDA 309d615eb5
Simplify cmake targets
- Don't use for loop
- Use reduce filtering commands
2026-03-14 20:27:54 +09:00
Shohei YOSHIDA 9240b691d0
Do not use global variables 2026-03-14 20:06:03 +09:00
Shohei YOSHIDA 003afbe513
Refactoring _cf completion
- don't overwrite global variables
- add `__cf_` prefix to private functions
- improve command function dispatch
- use zsh way for array value check
2026-03-14 01:01:16 +09:00
Shohei YOSHIDA f1153d7a9d
add command name prefix to functions 2026-03-14 00:17:55 +09:00
Shohei YOSHIDA ce3bdfed22
Merge pull request #1232 from zsh-users/fix-format
Fix format issues
2026-03-13 16:30:56 +09:00
Shohei YOSHIDA b5da595150
Fix indentation size 2026-03-13 11:46:25 +09:00
Shohei YOSHIDA 7ea6b7a971
Add editor settings to all files 2026-03-13 11:38:48 +09:00
Shohei YOSHIDA 32210c83c5
Use spaces instead of tabs 2026-03-13 11:31:47 +09:00
Shohei YOSHIDA 867fb5a09c
`--build` option should be an optional parameter 2026-03-12 13:38:49 +09:00
Shohei YOSHIDA 9dfdcf43c3
fix fail2ban-client completion
- Add missing option description
2026-03-08 23:15:40 +09:00
Shohei YOSHIDA fc2ebff046
Fix openssl completion
- fix typo
2026-03-08 23:15:28 +09:00
Shohei YOSHIDA 8c58e5f118
Fix textutil completion
- fix array value expansion
2026-03-08 23:15:05 +09:00
Shohei YOSHIDA 83ac2d1e89
fix ldattach
- improve description of 1st argument
2026-03-08 23:14:45 +09:00
Shohei YOSHIDA 71ac28d2e0
fix fail2ban-client completion
- fix wrong value completions
2026-03-08 23:05:29 +09:00
Shohei YOSHIDA c2ecb21e86
fix concourse completion
- add missing '='
2026-03-08 23:05:06 +09:00
Shohei YOSHIDA 0b0867f708
fix chromium completion
- correct exclusive flags
2026-03-08 23:04:45 +09:00
Shohei YOSHIDA 6a445e594b
fix dart completion
- fix wrong value completion
2026-03-08 23:04:28 +09:00
Shohei YOSHIDA b9cd906208
fix afew completion
- fix typo
2026-03-08 23:03:41 +09:00
Shohei YOSHIDA 586a4eb4a8
fix fwupdmgr completion
- fix quoting
2026-03-08 23:03:15 +09:00
Shohei YOSHIDA 002a11fdb7
Fix gio completion
- fix quoting
2026-03-08 23:02:56 +09:00
Shohei YOSHIDA 970077590a
fix gist completion
- fix quoting
2026-03-08 23:02:30 +09:00
Shohei YOSHIDA d330cb594f
Fix glances completion
- add missing argument description
2026-03-08 23:02:04 +09:00
Shohei YOSHIDA eca213e017
Fix gtk-launch completion
- fix quoting
2026-03-08 23:01:45 +09:00
Shohei YOSHIDA 5f2fad31ae
Fix inxi completion
Add missing variable definition
2026-03-08 23:01:06 +09:00
Shohei YOSHIDA 370c7e4e58
Fix ldattach completion
- Add first argument definition
2026-03-08 23:00:48 +09:00
Shohei YOSHIDA fe05ed6ed6
Fix nvm completion
- remove needless '='
2026-03-08 23:00:31 +09:00
Shohei YOSHIDA 95b96b10ba
Fix openssl completion
- fix wrong value completions
2026-03-08 23:00:06 +09:00
Shohei YOSHIDA a535d6d789
Fix openvpn3 completion
- fix wrong variable name
2026-03-08 22:59:40 +09:00
Shohei YOSHIDA eeb33f99ce
fix _port completion
- fix wrong option definitions
2026-03-08 22:59:16 +09:00
Shohei YOSHIDA d9dd3f1a56
Fix protoc completion
- add missing '='
2026-03-08 22:58:56 +09:00
Shohei YOSHIDA eeda4af31d
fix qmk completion
- fix wrong short flag name
2026-03-08 22:57:21 +09:00
Shohei YOSHIDA c1b7ac5bf0
Fix rails completion
- fix wrong variable usage
2026-03-08 22:56:44 +09:00
Shohei YOSHIDA ee1514fc41
Fix rubocop completion
- fix wrong short flag name
2026-03-08 22:56:19 +09:00
Shohei YOSHIDA 5d8642a3e8
Fix svm completion
- fix wrong function name
2026-03-08 22:56:03 +09:00
Shohei YOSHIDA cf3aafe66c
fix textutil completion
- fix wrong variable expantion
2026-03-08 22:55:42 +09:00
Shohei YOSHIDA 1f058a345f
fix tsc completion
- set '-C' flag of _arguments
- remove duplicated flags
2026-03-08 22:55:10 +09:00
Shohei YOSHIDA 6a282fe7fa
fix ufw completion
- fix the case when empty string is passed
2026-03-08 22:54:27 +09:00
Shohei YOSHIDA c7f779e025
fix uuidd completion
- fix typo
2026-03-08 22:53:58 +09:00
Shohei YOSHIDA 0737ba0f1e
Fix virtualbox completion
- avoid overriding internal variable names
- fix wrong switch case labels
2026-03-08 22:53:14 +09:00
Shohei YOSHIDA 81438c5a2e
Fix vnstat completion
- update exclusive flags
2026-03-08 22:52:49 +09:00
Shohei YOSHIDA 1fd073d384
fix yarn completion
- do not use global variable
2026-03-08 22:52:32 +09:00
Shohei YOSHIDA 4a9df2bdc8
fix fail2ban-client
- fix wrong switch syntax
- rename function names according to the convention
2026-03-08 22:15:05 +09:00
Shohei YOSHIDA ce1145e8ad
fix dhcpcd completion
- fix wrong short option name
2026-03-08 22:12:39 +09:00
Shohei YOSHIDA a110107c61
Fix chromium completion
- fix wrong _alternative usage
2026-03-08 22:12:07 +09:00
Shohei YOSHIDA 5021b01fd3
Fix bitcoin-cli completion
- fix using global variable issue
2026-03-08 22:11:43 +09:00
Shohei YOSHIDA 68549429e8
Fix bundle completion
- fix wrong option name
- fix typo
2026-03-08 22:11:15 +09:00
Shohei YOSHIDA 5988583ac4
Fix conan completion
- add missing completion
2026-03-08 22:10:54 +09:00
Shohei YOSHIDA 271e06295a
Fix chcpu completion
- fix wrong short option name
2026-03-08 22:10:33 +09:00
Shohei YOSHIDA 7b58f23040
Fix ecdsautil completion
- Add missing '\\'
2026-03-08 22:09:52 +09:00
Shohei YOSHIDA 88527a2778
Fix cppcheck completion
- remove duplicated options
- fix file name completion
2026-03-08 22:09:19 +09:00
Shohei YOSHIDA 85543dcb35
Fix cf completion
- fix a lot of broken syntax
2026-03-08 22:08:49 +09:00
Shohei YOSHIDA 324622c0d7
Fix dad completion
- remove needless colon
2026-03-08 22:08:22 +09:00
Shohei YOSHIDA 047e1a84fd
Fix dart completion
- fix wrong option name
2026-03-08 22:07:58 +09:00
Shohei YOSHIDA d6e87d4bb0
Fix emacs completion
- fix wrong option names
- fix wrong description syntax
2026-03-08 22:07:27 +09:00
Shohei YOSHIDA 81a016309d
Fix blkid completion
- fix wrong short name option
- correct _files flag to complete device files
2026-03-08 22:06:47 +09:00
Shohei YOSHIDA 63fb9ca323
Fix distro_info completion
- fix typo
2026-03-08 22:06:33 +09:00
Shohei YOSHIDA 96821fc50a
fix bento4 completion
- quote array strings for value that contains spaces
2026-03-08 22:05:58 +09:00
Shohei YOSHIDA 3acc91b1d6
fix archlinux-java completion
- fix wrong name of _describe
2026-03-08 22:05:12 +09:00
Shohei YOSHIDA 3f222623a2
Fix afew
- fix eclusive option definition
2026-03-08 22:04:45 +09:00
Shohei YOSHIDA 189ee541a1
fix fail2ban-regex completion
- fix wrong exclusive option syntax
2026-03-08 22:03:58 +09:00
Shohei YOSHIDA 9b16dadea5
Fix fallocate
- fix wrong short name option
2026-03-08 22:03:37 +09:00
Shohei YOSHIDA b835a4a76e
fix fwupdmgr completion
- fix wrong _alternative usage
- fix `-v` definition
- fix exclusive option syntax
2026-03-08 22:02:25 +09:00
Shohei YOSHIDA 95b7c563b2
Fix gas completion
- remove needless '|'
2026-03-08 22:02:04 +09:00
Shohei YOSHIDA 53e705a257
Fix glances completion
- fix typo
2026-03-08 22:01:47 +09:00
Shohei YOSHIDA d5ac886499
Fix inxi completion
- fix typo
2026-03-08 22:01:12 +09:00
Shohei YOSHIDA 84e54cb11a
Fix ipcrm completion
- remove needless '-'
2026-03-08 22:00:46 +09:00
Shohei YOSHIDA 3fefbee79e
fix jmeter completion
- remove duplicated options
2026-03-08 22:00:25 +09:00
Shohei YOSHIDA c852be29ac
fix kak completion
- `-l` option doesn't take any values
2026-03-08 21:59:43 +09:00
Shohei YOSHIDA 759f22227d
Fix l3build completion
- fix typo
2026-03-08 21:59:27 +09:00
Shohei YOSHIDA d101590b86
Fix language_code completion
- remove incorrect value
2026-03-08 21:58:53 +09:00
Shohei YOSHIDA 1b5eb7da8c
fix ldattach
- remove needless comma from exclusive option list
2026-03-08 21:58:29 +09:00
Shohei YOSHIDA 0b18ad83fc
Fix lsipc completion
- Fix wrong description
- Fix wrong short option name
2026-03-08 21:57:58 +09:00
Shohei YOSHIDA fc4f116cec
fix mc completion
- remove obsoleted options
2026-03-08 21:57:33 +09:00
Shohei YOSHIDA bff5ba4c7a
fix neo completion
- fix wrong option description
2026-03-08 21:57:10 +09:00
Shohei YOSHIDA d736522d58
Fix nftables completion
- remove needless debug print
- fix wrong value overwriting
2026-03-08 21:56:09 +09:00
Shohei YOSHIDA f6d745a6ef
Fix node completion
- fix wrong value completions
2026-03-08 21:55:46 +09:00
Shohei YOSHIDA 8a714f0ab2
fix openssl completion
- correct option value format
2026-03-08 21:54:24 +09:00
Shohei YOSHIDA 2bcf6ca857
Fix openvpn3 completion
And apply formatting
2026-03-08 21:54:02 +09:00
Shohei YOSHIDA 6a6e4a9d5f
Fix phing completion
- remove duplicate options
2026-03-08 21:53:05 +09:00
Shohei YOSHIDA 41aee557c2
fix pixz completion
- fix unquoted pattern
2026-03-08 21:52:07 +09:00
Shohei YOSHIDA ae43a3a125
Fix pkcon completion
- fix wrong short option name
2026-03-08 21:51:27 +09:00