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
Ohmyzsh
Commits
1ec8a884
Commit
1ec8a884
authored
Aug 31, 2009
by
Robby Russell
Browse files
Adding an upgrade_oh_my_zsh function to... well, upgrade Oh My Zsh
parent
0ce2fd09
Changes
2
Show whitespace changes
Inline
Side-by-side
functions.zsh
View file @
1ec8a884
...
...
@@ -32,6 +32,10 @@ function uninstall_oh_my_zsh() {
/bin/sh
$ZSH
/tools/uninstall.sh
}
function
upgrade_oh_my_zsh
()
{
/bin/sh
$ZSH
/tools/upgrade.sh
}
function
tab
()
{
osascript 2>/dev/null
<<
EOF
tell application "System Events"
...
...
tools/upgrade.sh
0 → 100644
View file @
1ec8a884
current_path
=
`
pwd
`
echo
"Upgrading Oh My Zsh"
(
cd
$ZSH
&&
git pull origin master
)
echo
"Done."
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