-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix some bugs and add zsh auto completions support
- Loading branch information
Showing
7 changed files
with
64 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ go.work | |
cleanup.sh | ||
note.txt | ||
preDeploy.sh | ||
archub_amd64.tar.gz | ||
*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#compdef archub | ||
|
||
local options=( | ||
{-s,--search}"[Search a package e.g. archub --search <package>]" | ||
{-i,--install}"[Install a package e.g. archub --install <package]" | ||
{-c,--clean}"[Clean up all tmp files and folders]" | ||
{-l,--list}"[List all AUR installed Packages on your system]" | ||
{-u,--update}'[Update a specific Package Sub Option: --all]:--all:(--all)' | ||
{-d,--delete}'[Delete a specific Package e.g. archub --delete <package>]' | ||
--check"[Check for package updates]" | ||
--help"[How to use Archub]" | ||
--version"[Version of Archub]" | ||
) | ||
|
||
_arguments $options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters