Commit d50fbc21 authored by Ulrich Schinz's avatar Ulrich Schinz
Browse files

here we go

parents 95243602 7689b2e9
# Fish Theme: clearance
# Fish Theme: clearancegtv
A minimalist [fish shell](http://fishshell.com/) theme for people who use git
This theme is a clone of clearance, just exended by support for venv and vi-mode. Time was added.
![clearance theme](https://raw.github.com/cseelus/clearance-fish/master/clearance-fish_preview.png)
A minimalist [fish shell](http://fishshell.com/) theme for people who use git / venv / vi-mode
![clearance theme](clearancegtv-fish_preview.png)
## Like it?
Check out other versions of this theme for OSX Terminal or VIM!
Nice!
......@@ -64,6 +64,26 @@ function fish_prompt
# Terminate with a nice prompt with user and char
echo -e ''
if test "$fish_key_bindings" = "fish_vi_key_bindings"
or test "$fish_key_bindings" = "fish_hybrid_key_bindings"
switch $fish_bind_mode
case default
set_color --bold --background red white
echo -n -s '·'
case insert
set_color --bold --background green white
echo -n -s '·'
case replace_one
set_color --bold --background green white
echo -n '·'
case visual
set_color --bold --background magenta white
echo -n '·'
end
set_color normal
echo -n ' '
end
if [ "$USER" != "$default_user" -o -n "$SSH_CLIENT" ]
echo -n -s $brcyan " " (whoami) " " $normal
if [ "$theme_display_hostname" = "yes" ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment