Skip to content

Commit

Permalink
Fishline v3.2.0 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
0rax authored Dec 5, 2017
2 parents e7376c1 + 6d0dc7f commit fe142bd
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 8 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# fishline

[![Join the chat at https://gitter.im/0rax/fishline](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/0rax/fishline?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

**A powerline prompt framework for the fish-shell built in fish-shell.**
<p align="center">
<a href="README.md"><img src="https://raw.githubusercontent.com/0rax/fishline/screenshots/logo.png" width=512 style="margin-bottom:0px"></img></a>
</p>
<h4 align="center">A powerline prompt framework for the fish-shell built in fish-shell</h4>
<p align="center">
<a href="https://github.com/0rax/fishline/releases/latest"><img src="https://img.shields.io/github/release/0rax/fishline.svg" alt="Latest release"></a>
<a href="https://gitter.im/0rax/fishline?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/Join%20Chat.svg" alt="Join the chat at https://gitter.im/0rax/fishline"></a>
</p>

## Preview

![fishline_preview](https://raw.githubusercontent.com/0rax/fishline/screenshots/prompt.png "Fishline Preview")

Expand Down
9 changes: 9 additions & 0 deletions segments/__flseg_user.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-

function __flseg_user

__fishline_segment $FLCLR_USER_BG $FLCLR_USER_FG
printf $USER

end
8 changes: 8 additions & 0 deletions tests/fltest_user.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-

function fltest_user

__fishline_test USER

end
4 changes: 3 additions & 1 deletion themes/default_256_colors.fish
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ set FLCLR_GIT_FG_DETACHED white
set FLCLR_CLOCK_BG $__256_blue
set FLCLR_CLOCK_FG white

# Color for USERHOST segment
# Color for USER and USERHOST segments
set FLCLR_USER_BG $__256_white
set FLCLR_USER_FG black
set FLCLR_USERHOST_BG $__256_white
set FLCLR_USERHOST_FG black

Expand Down
4 changes: 3 additions & 1 deletion themes/default_ansi_colors.fish
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ set FLCLR_GIT_FG_DETACHED normal
set FLCLR_CLOCK_BG white
set FLCLR_CLOCK_FG black

# Color for USERHOST segment
# Color for USER and USERHOST segments
set FLCLR_USER_BG cyan
set FLCLR_USER_FG normal
set FLCLR_USERHOST_BG cyan
set FLCLR_USERHOST_FG normal

Expand Down
4 changes: 3 additions & 1 deletion themes/tty_compatible.fish
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ set FLCLR_GIT_FG_DETACHED red
set FLCLR_CLOCK_BG normal
set FLCLR_CLOCK_FG yellow

# Color for USERHOST segment
# Color for USER and USERHOST segments
set FLCLR_USER_BG normal
set FLCLR_USER_FG purple
set FLCLR_USERHOST_BG normal
set FLCLR_USERHOST_FG purple

Expand Down

0 comments on commit fe142bd

Please sign in to comment.