mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Merge 16107e40f8 into d848c94804
This commit is contained in:
commit
389364d4c7
7 changed files with 26 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ if [[ "$ENABLE_CORRECTION" == "true" ]]; then
|
||||||
alias mkdir='nocorrect mkdir'
|
alias mkdir='nocorrect mkdir'
|
||||||
alias mv='nocorrect mv'
|
alias mv='nocorrect mv'
|
||||||
alias mysql='nocorrect mysql'
|
alias mysql='nocorrect mysql'
|
||||||
|
alias su='nocorrect su'
|
||||||
alias sudo='nocorrect sudo'
|
alias sudo='nocorrect sudo'
|
||||||
|
|
||||||
setopt correct_all
|
setopt correct_all
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,11 @@ alias bubo='brew update && brew outdated'
|
||||||
alias bubc='brew upgrade && brew cleanup'
|
alias bubc='brew upgrade && brew cleanup'
|
||||||
alias bubu='bubo && bubc'
|
alias bubu='bubo && bubc'
|
||||||
|
|
||||||
|
alias bsl='brew services list'
|
||||||
|
alias bsr='brew services run'
|
||||||
|
alias bson='brew services start'
|
||||||
|
alias bsoff='brew services stop'
|
||||||
|
|
||||||
if command mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then
|
if command mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then
|
||||||
print -P '%F{yellow}'Oh My Zsh brew plugin:
|
print -P '%F{yellow}'Oh My Zsh brew plugin:
|
||||||
cat <<-'EOF'
|
cat <<-'EOF'
|
||||||
|
|
|
||||||
|
|
@ -31,3 +31,10 @@ function _httpie_completion() {
|
||||||
}
|
}
|
||||||
|
|
||||||
compdef _httpie_completion http
|
compdef _httpie_completion http
|
||||||
|
|
||||||
|
alias 'GET=http -v GET'
|
||||||
|
alias 'POST=http -v POST'
|
||||||
|
alias 'PUT=http -v PUT'
|
||||||
|
alias 'PATCH=http -v PATCH'
|
||||||
|
alias 'DELETE=http -v DELETE'
|
||||||
|
alias 'OPTION=http -v OPTION'
|
||||||
|
|
|
||||||
|
|
@ -48,3 +48,5 @@ alias ooanward='git commit -am'
|
||||||
alias letcat='git checkout'
|
alias letcat='git checkout'
|
||||||
alias violenz='git rebase'
|
alias violenz='git rebase'
|
||||||
|
|
||||||
|
# Flip a coin function. http://twitter.com/#!/climagic/status/195158151534882817
|
||||||
|
flipcoin() { [[ $(( $RANDOM % 2 )) == 0 ]] && echo heads || echo tails; }
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ fpath=($rvm_path/scripts/zsh/Completion $fpath)
|
||||||
|
|
||||||
alias rubies='rvm list rubies'
|
alias rubies='rvm list rubies'
|
||||||
alias gemsets='rvm gemset list'
|
alias gemsets='rvm gemset list'
|
||||||
|
alias rvms='rvm gemset'
|
||||||
|
|
||||||
local ruby18='ruby-1.8.7'
|
local ruby18='ruby-1.8.7'
|
||||||
local ruby19='ruby-1.9.3'
|
local ruby19='ruby-1.9.3'
|
||||||
|
|
|
||||||
8
plugins/vagrant/vagrant.plugin.zsh
Normal file
8
plugins/vagrant/vagrant.plugin.zsh
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
alias vssh='vagrant ssh'
|
||||||
|
alias vup='vagrant up'
|
||||||
|
alias vupp='vagrant up --provision'
|
||||||
|
alias vprov='vagrant provision'
|
||||||
|
alias vhalt='vagrant halt'
|
||||||
|
alias vdestroy='vagrant destroy'
|
||||||
|
alias vstatus='vagrant status'
|
||||||
|
alias vst='vstatus'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue