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
0b92a704
Commit
0b92a704
authored
Jun 05, 2013
by
Jason Rogers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding my Git-based theme
parent
41ed8983
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
themes/jacaetevha/fish_prompt.fish
themes/jacaetevha/fish_prompt.fish
+27
-0
themes/jacaetevha/fish_right_prompt.fish
themes/jacaetevha/fish_right_prompt.fish
+6
-0
No files found.
themes/jacaetevha/fish_prompt.fish
0 → 100644
View file @
0b92a704
function fish_prompt
set_color yellow
printf '%s' (whoami)
set_color normal
printf ' at '
set_color magenta
printf '%s' (hostname|cut -d . -f 1)
set_color normal
printf ' in '
set_color $fish_color_cwd
printf '%s ' (prompt_pwd)
set_color blue
printf '%s' (/Users/jrogers/bin/TBytes.sh)
set_color normal
printf '%s' (__fish_git_prompt)
# Line 2
echo
if test $VIRTUAL_ENV
printf "(%s) " (set_color blue)(basename $VIRTUAL_ENV)(set_color normal)
end
printf '↪ '
set_color normal
end
themes/jacaetevha/fish_right_prompt.fish
0 → 100644
View file @
0b92a704
function fish_right_prompt -d "Write out the right prompt"
set_color yellow
# date "+%m/%d/%y"
date
set_color normal
end
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