Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
00a190bc
Commit
00a190bc
authored
Sep 24, 2009
by
Robby Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oh My Zsh gets a weekly auto-updater... the future is now!
parent
700a3f0b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
misc.zsh
lib/misc.zsh
+9
-1
zshrc.zsh-template
templates/zshrc.zsh-template
+3
-0
upgrade.sh
tools/upgrade.sh
+1
-1
No files found.
lib/misc.zsh
View file @
00a190bc
...
@@ -7,3 +7,11 @@ bindkey "^[m" copy-prev-shell-word
...
@@ -7,3 +7,11 @@ bindkey "^[m" copy-prev-shell-word
## jobs
## jobs
setopt long_list_jobs
setopt long_list_jobs
# 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