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
77885dcb
Commit
77885dcb
authored
May 31, 2015
by
Justin Hileman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[split] Move jacaetevha theme to oh-my-fish/theme-jacaetevha
https://github.com/oh-my-fish/theme-jacaetevha
parent
4da5d2cd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
70 deletions
+0
-70
themes/jacaetevha/README.md
themes/jacaetevha/README.md
+0
-24
themes/jacaetevha/fish_prompt.fish
themes/jacaetevha/fish_prompt.fish
+0
-41
themes/jacaetevha/fish_right_prompt.fish
themes/jacaetevha/fish_right_prompt.fish
+0
-5
No files found.
themes/jacaetevha/README.md
deleted
100644 → 0
View file @
4da5d2cd
## jacaetevha
A theme optimized for people who use:
*
Git
*
Unicode-compatible fonts and terminals (I use iTerm2 + Monaco)
For Mac users, I highly recommend iTerm 2.

#### Characteristics
*
Left-hand prompt:
```
<user> at <host> in <abbreviated path> <total size of files in dir> (<current Git branch>)
↪
```
*
Right-hand prompt:
```
<current date>
```
themes/jacaetevha/fish_prompt.fish
deleted
100644 → 0
View file @
4da5d2cd
# name: Jacaetevha
function tbytes -d 'calculates the total size of the files in the current directory'
set -l tBytes (ls -al | grep "^-" | awk 'BEGIN {i=0} { i += $5 } END { print i }')
if test $tBytes -lt 1048576
set -g total (echo -e "scale=3 \n$tBytes/1048 \nquit" | bc)
set -g units " Kb"
else
set -g total (echo -e "scale=3 \n$tBytes/1048576 \nquit" | bc)
set -g units " Mb"
end
echo -n "$total$units"
end
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' (tbytes)
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
deleted
100644 → 0
View file @
4da5d2cd
function fish_right_prompt -d "Write out the right prompt"
set_color yellow
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