mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-24 01:37:27 +08:00
Compare commits
No commits in common. "f776af2a1f5d5ced17bdeb00f7adb64ccfaa99a6" and "71cc861806f30d8f7fd3d0040db86737cab62581" have entirely different histories.
f776af2a1f
...
71cc861806
@ -64,6 +64,7 @@ fi
|
|||||||
|
|
||||||
# AWS CLI v2 comes with its own autocompletion. Check if that is there, otherwise fall back
|
# AWS CLI v2 comes with its own autocompletion. Check if that is there, otherwise fall back
|
||||||
if command -v aws_completer &> /dev/null; then
|
if command -v aws_completer &> /dev/null; then
|
||||||
|
autoload -Uz bashcompinit && bashcompinit
|
||||||
complete -C aws_completer aws
|
complete -C aws_completer aws
|
||||||
else
|
else
|
||||||
function _awscli-homebrew-installed() {
|
function _awscli-homebrew-installed() {
|
||||||
|
|||||||
@ -10,8 +10,11 @@ if (( ${+commands[compleat]} )); then
|
|||||||
local setup="${prefix}/share/compleat-1.0/compleat_setup"
|
local setup="${prefix}/share/compleat-1.0/compleat_setup"
|
||||||
|
|
||||||
if [[ -f "$setup" ]]; then
|
if [[ -f "$setup" ]]; then
|
||||||
|
if ! bashcompinit >/dev/null 2>&1; then
|
||||||
|
autoload -U bashcompinit
|
||||||
|
bashcompinit -i
|
||||||
|
fi
|
||||||
|
|
||||||
source "$setup"
|
source "$setup"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset prefix setup
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -99,4 +99,6 @@ alias drvg="drush variable-get"
|
|||||||
alias drvs="drush variable-set"
|
alias drvs="drush variable-set"
|
||||||
|
|
||||||
# Enable drush autocomplete support
|
# Enable drush autocomplete support
|
||||||
|
autoload bashcompinit
|
||||||
|
bashcompinit
|
||||||
source $(dirname $0)/drush.complete.sh
|
source $(dirname $0)/drush.complete.sh
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
(( $+commands[stack] )) || return
|
(( $+commands[stack] )) || return
|
||||||
|
|
||||||
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
source <(stack --bash-completion-script stack)
|
source <(stack --bash-completion-script stack)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently.
|
Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently.
|
||||||
|
|
||||||
Current as of Terraform v0.13
|
Current as of Terraform v0.11.7
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
@ -17,7 +17,6 @@ plugins=(... terraform)
|
|||||||
```
|
```
|
||||||
|
|
||||||
* Type `terraform` into your prompt and hit `TAB` to see available completion options
|
* Type `terraform` into your prompt and hit `TAB` to see available completion options
|
||||||
* Type `tf` into your prompt as a short alias to `terraform`
|
|
||||||
|
|
||||||
### Expanding ZSH prompt with current Terraform workspace name
|
### Expanding ZSH prompt with current Terraform workspace name
|
||||||
|
|
||||||
|
|||||||
@ -7,5 +7,3 @@ function tf_prompt_info() {
|
|||||||
echo "[${workspace}]"
|
echo "[${workspace}]"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
alias tf='terraform'
|
|
||||||
|
|||||||
@ -138,6 +138,7 @@ alias wpwm='wp widget move'
|
|||||||
alias wpwu='wp widget update'
|
alias wpwu='wp widget update'
|
||||||
|
|
||||||
|
|
||||||
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
# bash completion for the `wp` command
|
# bash completion for the `wp` command
|
||||||
|
|
||||||
_wp_complete() {
|
_wp_complete() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user