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
3ec52a13
Commit
3ec52a13
authored
Aug 31, 2009
by
Robby Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checking if .zshrc is a file or a symlink.
parent
43fd24e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
install.sh
tools/install.sh
+2
-1
No files found.
tools/install.sh
View file @
3ec52a13
...
@@ -8,7 +8,7 @@ else
...
@@ -8,7 +8,7 @@ else
fi
fi
echo
"Looking for an existing zsh config..."
echo
"Looking for an existing zsh config..."
if
[
-f
~/.zshrc
]
if
[
-f
~/.zshrc
]
||
[
-h
~/.zshrc
]
then
then
echo
"Found ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh"
;
echo
"Found ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh"
;
cp
~/.zshrc ~/.zshrc.pre-oh-my-zsh
;
cp
~/.zshrc ~/.zshrc.pre-oh-my-zsh
;
...
@@ -22,3 +22,4 @@ echo "Time to change your default shell to zsh!"
...
@@ -22,3 +22,4 @@ echo "Time to change your default shell to zsh!"
chsh
-s
/bin/zsh
chsh
-s
/bin/zsh
echo
"Hooray! Oh My Zsh has been installed."
echo
"Hooray! Oh My Zsh has been installed."
/bin/zsh
\ 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