mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-20 00:47:45 +08:00
Compare commits
No commits in common. "7900380239c6272b3bed4a16045c76bb8359a6ac" and "e1a8d7c9772db760a77b83cf945fcd8b1fc08129" have entirely different histories.
7900380239
...
e1a8d7c977
@ -119,7 +119,7 @@
|
||||
| pacupg | sudo pacman -Syu | Sync with repositories before upgrading packages |
|
||||
| upgrade | sudo pacman -Syu | Sync with repositories before upgrading packages |
|
||||
| pacfileupg | sudo pacman -Fy | Download fresh package databases from the server |
|
||||
| pacfiles | pacman -F | Search package file names for matching strings |
|
||||
| pacfiles | pacman -Fs | Search package file names for matching strings |
|
||||
| pacls | pacman -Ql | List files in a package |
|
||||
| pacown | pacman -Qo | Show which package owns a file |
|
||||
|
||||
|
||||
@ -149,7 +149,7 @@ alias pacmir='sudo pacman -Syy'
|
||||
alias paclsorphans='sudo pacman -Qdt'
|
||||
alias pacrmorphans='sudo pacman -Rs $(pacman -Qtdq)'
|
||||
alias pacfileupg='sudo pacman -Fy'
|
||||
alias pacfiles='pacman -F'
|
||||
alias pacfiles='pacman -Fs'
|
||||
alias pacls='pacman -Ql'
|
||||
alias pacown='pacman -Qo'
|
||||
|
||||
|
||||
@ -7,10 +7,10 @@
|
||||
# sdk offline <enable|disable>
|
||||
#
|
||||
# commands:
|
||||
# install or i <candidate> [version] [local-path]
|
||||
# install or i <candidate> [version]
|
||||
# uninstall or rm <candidate> <version>
|
||||
# list or ls [candidate]
|
||||
# use or u <candidate> <version>
|
||||
# use or u <candidate> [version]
|
||||
# default or d <candidate> [version]
|
||||
# current or c [candidate]
|
||||
# upgrade or ug [candidate]
|
||||
@ -20,15 +20,14 @@
|
||||
# offline [enable|disable]
|
||||
# selfupdate [force]
|
||||
# update
|
||||
# flush <broadcast|archives|temp>
|
||||
# flush <candidates|broadcast|archives|temp>
|
||||
#
|
||||
# candidate : the SDK to install: groovy, scala, grails, gradle, kotlin, etc.
|
||||
# use list command for comprehensive list of candidates
|
||||
# eg: $ sdk list
|
||||
#
|
||||
# version : where optional, defaults to latest stable if not provided
|
||||
# eg: $ sdk install groovy
|
||||
# local-path : optional path to an existing local installation
|
||||
# eg: $ sdk install groovy 2.4.13-local /opt/groovy-2.4.13
|
||||
|
||||
local _sdk_commands=(
|
||||
install i
|
||||
@ -69,7 +68,7 @@ _sdk () {
|
||||
compadd -- $SDKMAN_CANDIDATES ;;
|
||||
offline) compadd -- enable disable ;;
|
||||
selfupdate) compadd -- force ;;
|
||||
flush) compadd -- broadcast archives temp ;;
|
||||
flush) compadd -- candidates broadcast archives temp ;;
|
||||
esac
|
||||
;;
|
||||
4) case "$words[2]" in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user