mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Merge bfb2f904c6 into c2ae9e09ca
This commit is contained in:
commit
738430f2e8
4 changed files with 21 additions and 4 deletions
|
|
@ -13,18 +13,18 @@ You can install this via the command line with either `curl` or `wget`.
|
||||||
|
|
||||||
h4. via `curl`
|
h4. via `curl`
|
||||||
|
|
||||||
@curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh@
|
@curl -L https://github.com/jgrubb/oh-my-zsh/raw/master/tools/install.sh | sh@
|
||||||
|
|
||||||
h4. via `wget`
|
h4. via `wget`
|
||||||
|
|
||||||
@wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh@
|
@wget --no-check-certificate https://github.com/jgrubb/oh-my-zsh/raw/master/tools/install.sh -O - | sh@
|
||||||
|
|
||||||
h3. The manual way
|
h3. The manual way
|
||||||
|
|
||||||
|
|
||||||
1. Clone the repository
|
1. Clone the repository
|
||||||
|
|
||||||
@git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh@
|
@git clone git://github.com/jgrubb/oh-my-zsh.git ~/.oh-my-zsh@
|
||||||
|
|
||||||
2. Create a new zsh config by copying the zsh template we've provided.
|
2. Create a new zsh config by copying the zsh template we've provided.
|
||||||
|
|
||||||
|
|
|
||||||
14
plugins/drush/drush.plugin.zsh
Normal file
14
plugins/drush/drush.plugin.zsh
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#aliases
|
||||||
|
|
||||||
|
unalias d
|
||||||
|
|
||||||
|
alias d='drush'
|
||||||
|
alias ds='drush status'
|
||||||
|
alias dcc='drush cc'
|
||||||
|
alias dcca='drush cc all'
|
||||||
|
alias dcct='drush cc "theme registry"'
|
||||||
|
alias ddl='drush pm-download'
|
||||||
|
alias dd='drush pm-disable'
|
||||||
|
alias de='drush pm-enable'
|
||||||
|
alias du='drush pm-update'
|
||||||
|
alias dif='drush image-flush'
|
||||||
3
plugins/tmux/tmux.plugin.zsh
Normal file
3
plugins/tmux/tmux.plugin.zsh
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
alias t='tmux'
|
||||||
|
alias ta='tmux attach -t'
|
||||||
|
alias tls='tmux list-sessions'
|
||||||
|
|
@ -5,7 +5,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
|
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
|
||||||
hash git >/dev/null && /usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh || {
|
hash git >/dev/null && /usr/bin/env git clone https://github.com/jgrubb/oh-my-zsh.git ~/.oh-my-zsh || {
|
||||||
echo "git not installed"
|
echo "git not installed"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue