diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-10-26 00:56:15 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-10-26 02:07:32 -0400 |
commit | 26f3eb178d16798d18d699a8114ec24697663c36 (patch) | |
tree | 19c648e218c36b2984c4b98d0ba3622721dba894 | |
parent | dbdb438fa4074cde13df1ac2231c42bd32b9b222 (diff) |
wip - rename *aur*->*pur*
-rw-r--r-- | completions/bash.completion | 6 | ||||
-rw-r--r-- | completions/zsh.completion | 26 |
2 files changed, 16 insertions, 16 deletions
diff --git a/completions/bash.completion b/completions/bash.completion index cd650f9..9eddba1 100644 --- a/completions/bash.completion +++ b/completions/bash.completion @@ -1,11 +1,11 @@ #!/bin/bash # -# /usr/share/bash-completion/completions/pacaur +# /usr/share/bash-completion/completions/pacpur # _aur_pkg() { - # at least 2 characters required due to AUR limitation + # at least 2 characters required due to PUR limitation COMPREPLY+=($(compgen -W "$(auracle search -q -- ^$cur 2>/dev/null)" -- $cur)) } @@ -38,4 +38,4 @@ _pacaur() { } _completion_loader pacman -complete -o default -F _pacaur pacaur +complete -o default -F _pacaur pacpur diff --git a/completions/zsh.completion b/completions/zsh.completion index fef55e5..d4064a4 100644 --- a/completions/zsh.completion +++ b/completions/zsh.completion @@ -1,4 +1,4 @@ -#compdef pacaur +#compdef pacpur # # /usr/share/zsh/site-functions/_pacaur @@ -37,9 +37,9 @@ else fi -# options for passing to _arguments: main pacaur commands +# options for passing to _arguments: main pacpur commands _pacaur_opts_commands=( - ":pacaur_commands:(( + ":pacpur_commands:(( {-D,--database}\:'Modify database' {-Q,--query}\:'Query the package database' {-R,--remove}\:'Remove a package from the system' @@ -48,12 +48,12 @@ _pacaur_opts_commands=( {-U,--upgrade}\:'Upgrade a package' {-h,--help}\:'Display usage' '-V\:Display pacman version' - {-v,--version}\:'Display pacaur version' + {-v,--version}\:'Display pacpur version' ))" ) _pacaur_opts_extended=( - {-a,--aur}'[Only search, build, install or clean target(s) from the AUR]' + {-a,--aur}'[Only search, build, install or clean target(s) from the PUR]' {-e,--edit}'[Edit target(s) PKGBUILD and view install script]' {-r,--repo}'[Only search, build, install or clean target(s) from the repositories]' '--foreign[Consider already installed foreign dependencies]' @@ -159,7 +159,7 @@ _pacaur_opts_sync_modifiers=( # handles check subcommand _pacaur_action_check() { _arguments -s : \ - "*:check:(( --devel\:'Consider AUR development packages upgrade' ))" + "*:check:(( --devel\:'Consider PUR development packages upgrade' ))" } # handles info subcommand @@ -174,12 +174,12 @@ _pacaur_action_info() { # handles clean subcommand _pacaur_action_clean() { - if [[ $AURDEST ]] then; - CLONEDIR=$AURDEST - elif [[ $XDG_CACHE_HOME && -a $XDG_CACHE_HOME/pacaur ]]; then - CLONEDIR=$XDG_CACHE_HOME/pacaur + if [[ $PURDEST ]] then; + CLONEDIR=$PURDEST + elif [[ $XDG_CACHE_HOME && -a $XDG_CACHE_HOME/pacpur ]]; then + CLONEDIR=$XDG_CACHE_HOME/pacpur else - CLONEDIR=$HOME/.cache/pacaur + CLONEDIR=$HOME/.cache/pacpur fi _arguments -s : \ "*:clean:($(ls $CLONEDIR))" \ @@ -517,7 +517,7 @@ case $args in ;; S*u*) _arguments -s : \ - '--devel[Consider AUR development packages upgrade]' \ + '--devel[Consider PUR development packages upgrade]' \ "$_pacaur_opts_common[@]" \ "$_pacaur_opts_extended[@]" \ "$_pacaur_opts_sync_actions[@]" \ @@ -547,7 +547,7 @@ case $args in ;; upgrade) _arguments -s : \ - '--devel[Consider AUR development packages upgrade]' \ + '--devel[Consider PUR development packages upgrade]' \ '--needed[Do not reinstall up to date packages]' \ "$_pacaur_opts_common[@]" \ "$_pacaur_opts_extended[@]" \ |