Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
30594886
Unverified
Commit
30594886
authored
Apr 08, 2019
by
Marc Cornellà
Committed by
GitHub
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: delete PS1 default
A default PS1 doesn't make sense: the user will either choose a theme or not care about a default prompt since they can set it themselves. Fixes #7054
parent
e83b70f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
theme-and-appearance.zsh
lib/theme-and-appearance.zsh
+0
-3
No files found.
lib/theme-and-appearance.zsh
View file @
30594886
...
@@ -45,9 +45,6 @@ setopt prompt_subst
...
@@ -45,9 +45,6 @@ setopt prompt_subst
[[
-n
"
$WINDOW
"
]]
&&
SCREEN_NO
=
"%B
$WINDOW
%b "
||
SCREEN_NO
=
""
[[
-n
"
$WINDOW
"
]]
&&
SCREEN_NO
=
"%B
$WINDOW
%b "
||
SCREEN_NO
=
""
# Apply theming defaults
PS1
=
"%n@%m:%~%# "
# git theming default: Variables for theming the git info prompt
# git theming default: Variables for theming the git info prompt
ZSH_THEME_GIT_PROMPT_PREFIX
=
"git:("
# Prefix at the very beginning of the prompt, before the branch name
ZSH_THEME_GIT_PROMPT_PREFIX
=
"git:("
# Prefix at the very beginning of the prompt, before the branch name
ZSH_THEME_GIT_PROMPT_SUFFIX
=
")"
# At the very end of the prompt
ZSH_THEME_GIT_PROMPT_SUFFIX
=
")"
# At the very end of the prompt
...
...
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