mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Merge a777a92bc9 into 27c6becffd
This commit is contained in:
commit
2fa2d53522
3 changed files with 2 additions and 6 deletions
|
|
@ -17,7 +17,7 @@ alias history='fc -l 1'
|
||||||
|
|
||||||
# List direcory contents
|
# List direcory contents
|
||||||
alias lsa='ls -lah'
|
alias lsa='ls -lah'
|
||||||
#alias l='ls -la'
|
alias l='ls -la'
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
alias la='ls -lA'
|
alias la='ls -lA'
|
||||||
alias sl=ls # often screw this up
|
alias sl=ls # often screw this up
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# INSTRUCTIONS
|
# INSTRUCTIONS
|
||||||
#
|
#
|
||||||
# To enabled agent forwarding support add the following to
|
# To enable agent forwarding support add the following to
|
||||||
# your .zshrc file:
|
# your .zshrc file:
|
||||||
#
|
#
|
||||||
# zstyle :omz:plugins:ssh-agent agent-forwarding on
|
# zstyle :omz:plugins:ssh-agent agent-forwarding on
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
current_path=`pwd`
|
|
||||||
current_path=${current_path/ /\\ }
|
|
||||||
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
|
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
|
||||||
cd "$ZSH"
|
cd "$ZSH"
|
||||||
|
|
||||||
if git pull origin master
|
if git pull origin master
|
||||||
then
|
then
|
||||||
printf '\033[0;32m%s\033[0m\n' ' __ __ '
|
printf '\033[0;32m%s\033[0m\n' ' __ __ '
|
||||||
|
|
@ -17,4 +14,3 @@ else
|
||||||
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
|
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$current_path"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue