Skip to content
forked from 0rax/fishline

A powerline prompt framework for the fish-shell built in fish-shell.

License

Notifications You must be signed in to change notification settings

drewcassidy/fishline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A powerline prompt framework for the fish-shell built in fish-shell

Latest release Join the chat at https://gitter.im/0rax/fishline

Preview

fishline_preview

Requirements

This framework uses a lot of glyph from Powerline fonts in order to work, you will need to install one of them and select it as your shell font to enjoy this software completely. More information about how to install them can be found in the Powerline wiki.

Installation

Manually

In order to install fishline, you will need to clone this repository somewhere and specify this path in your config.fish file as well as sourcing the init.fish file present from the repository.

Here is an example on how to do it, by cloning fishline in your ~/.config/fish folder:

git clone https://github.com/0rax/fishline.git/ ~/.config/fish/fishline

Then modify your ~/.config/fish/config.fish and add:

if status is-interactive
    set FLINE_PATH $HOME/.config/fish/fishline
    source $FLINE_PATH/init.fish
end

Using Fisherman

This is the easiest way to install fishline in your fish-shell environment. Fisherman will install it and link all the needed functions for you by running the following command:

fisher i 0rax/fishline

This will allow you to use the fishline command directly and access to all the possible theming / configuration available as if you installed it manually.

Configuration

Now call the fishline function with your last status in your fish_prompt function

function fish_prompt
    fishline -s $status
end

More informations about installation and configuration available in the wiki.

About

A powerline prompt framework for the fish-shell built in fish-shell.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%