Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
4b8e9004
Commit
4b8e9004
authored
Jul 31, 2014
by
Joseph Tannhuber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
30b7118a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
themes/budspencer/fish_prompt.fish
themes/budspencer/fish_prompt.fish
+0
-15
No files found.
themes/budspencer/fish_prompt.fish
View file @
4b8e9004
...
...
@@ -115,12 +115,7 @@ function fish_prompt -d "Write out the left prompt of the budspencer theme"
# Segments
# vi mode
# If vi_mode plugin or native vi mode is activated then print the vi mode
# in the prompt.
set -l ps_vi ""
# if test -n "$vi_mode"
# set ps_vi $colnormal"["$vi_mode$colnormal"]"
# end
if test "$fish_key_bindings" = "fish_vi_key_bindings" -o "$fish_key_bindings" = "my_fish_key_bindings"
set ps_vi (fish_vi_prompt_cm)
end
...
...
@@ -143,17 +138,7 @@ function fish_prompt -d "Write out the left prompt of the budspencer theme"
set -l ps_git ""
set -l git_branch_name (__budspencer_git_branch_name)
if test -n "$git_branch_name"
# set -l git_repo_name (__budspencer_git_repo_name)
# if test -n (__budspencer_is_git_dirty)
# set git_info $git_info$colbred"·"
# end
set ps_git $bcol_base01 "" $fcol_black " "$git_branch_name" " $fcol_base01 #"@"$colbred$git_repo_name
# if test "$basedir_name" != "$git_repo_name"
# set -l basedir_depth (echo (__budspencer_git_repo_base) | sed "s/\// /g" | wc -w)
# set -l depth (echo (pwd) | sed "s/\// /g" | wc -w)
# set depth (math $depth - $basedir_depth)
# set ps_git $ps_git$colbwhite":"$colbgreen$basedir_name$colnormal"("$depth")"
# end
end
set -l ps_symbols (fish_prompt_symbols)
...
...
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