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
1bb40b40
Commit
1bb40b40
authored
Nov 17, 2014
by
Justin Hileman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to save $RETVAL, $status works just fine
parent
c839fafd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
themes/bobthefish/fish_prompt.fish
themes/bobthefish/fish_prompt.fish
+1
-2
No files found.
themes/bobthefish/fish_prompt.fish
View file @
1bb40b40
...
@@ -181,7 +181,7 @@ function __bobthefish_prompt_status -d 'Display symbols for a non zero exit stat
...
@@ -181,7 +181,7 @@ function __bobthefish_prompt_status -d 'Display symbols for a non zero exit stat
set -l bg_jobs
set -l bg_jobs
# Last exit was nonzero
# Last exit was nonzero
if [ $
RETVAL
-ne 0 ]
if [ $
status
-ne 0 ]
set nonzero $__bobthefish_nonzero_exit_glyph
set nonzero $__bobthefish_nonzero_exit_glyph
end
end
...
@@ -345,7 +345,6 @@ end
...
@@ -345,7 +345,6 @@ end
# ===========================
# ===========================
function fish_prompt -d 'bobthefish, a fish theme optimized for awesome'
function fish_prompt -d 'bobthefish, a fish theme optimized for awesome'
set -g RETVAL $status
__bobthefish_prompt_status
__bobthefish_prompt_status
__bobthefish_prompt_user
__bobthefish_prompt_user
if __bobthefish_in_virtualfish_virtualenv
if __bobthefish_in_virtualfish_virtualenv
...
...
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