Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
00a190bc
Commit
00a190bc
authored
Sep 23, 2009
by
Robby Russell
Browse files
Oh My Zsh gets a weekly auto-updater... the future is now!
parent
700a3f0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
lib/misc.zsh
View file @
00a190bc
...
@@ -6,4 +6,12 @@ zle -N self-insert url-quote-magic
...
@@ -6,4 +6,12 @@ zle -N self-insert url-quote-magic
bindkey
"^[m"
copy-prev-shell-word
bindkey
"^[m"
copy-prev-shell-word
## jobs
## jobs
setopt long_list_jobs
setopt long_list_jobs
\ No newline at end of file
# Check for updates on initial load...
if
[
"
$DISABLE_AUTO_UPDATE
"
=
"true"
]
then
return
else
/bin/sh
$ZSH
/tools/check_for_upgrade.sh
fi
templates/zshrc.zsh-template
View file @
00a190bc
...
@@ -5,6 +5,9 @@ export ZSH=$HOME/.oh-my-zsh
...
@@ -5,6 +5,9 @@ export ZSH=$HOME/.oh-my-zsh
# Look in ~/.oh-my-zsh/themes/
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="robbyrussell"
export ZSH_THEME="robbyrussell"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="false"
source $ZSH/oh-my-zsh.sh
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
# Customize to your needs...
tools/upgrade.sh
View file @
00a190bc
current_path
=
`
pwd
`
current_path
=
`
pwd
`
echo
"Upgrading Oh My Zsh"
echo
"Upgrading Oh My Zsh"
(
cd
$ZSH
&&
git pull origin master
)
(
cd
$ZSH
&&
git pull origin master
)
echo
"
Done
."
echo
"
Hooray! Oh My Zsh has been updated and/or is at the current version.
\n
Any new updates will be reflected when you start your next terminal session
."
cd
$current_path
cd
$current_path
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment