mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Merge 38aed4ea95 into c2ae9e09ca
This commit is contained in:
commit
53adf7ca3a
2 changed files with 3 additions and 3 deletions
|
|
@ -61,9 +61,9 @@ function current_repository() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# these aliases take advantage of the previous function
|
# these aliases take advantage of the previous function
|
||||||
alias ggpull='git pull origin $(current_branch)'
|
alias ggpull='git pull origin --rebase $(current_branch)'
|
||||||
compdef ggpull=git
|
compdef ggpull=git
|
||||||
alias ggpush='git push origin $(current_branch)'
|
alias ggpush='git push origin $(current_branch)'
|
||||||
compdef ggpush=git
|
compdef ggpush=git
|
||||||
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|
alias ggpnp='git pull origin --rebase $(current_branch) && git push origin $(current_branch)'
|
||||||
compdef ggpnp=git
|
compdef ggpnp=git
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
WRAPPER_FOUND=0
|
WRAPPER_FOUND=0
|
||||||
for wrapsource in "/usr/bin/virtualenvwrapper.sh" "/usr/local/bin/virtualenvwrapper.sh" "/etc/bash_completion.d/virtualenvwrapper" ; do
|
for wrapsource in "/usr/local/share/python/virtualenvwrapper_lazy.sh" "/etc/bash_completion.d/virtualenvwrapper"; do
|
||||||
if [[ -e $wrapsource ]] ; then
|
if [[ -e $wrapsource ]] ; then
|
||||||
WRAPPER_FOUND=1
|
WRAPPER_FOUND=1
|
||||||
source $wrapsource
|
source $wrapsource
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue