Git Product home page Git Product logo

fishline's Introduction

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 Fisher

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

fisher install 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.

NOTE: When installing fishline using Fisher, a file named fishline-init.fish will be created in ~/.config/fish/conf.d. If you wish to configure, you should not update this file but instead create a new one to set your configuration variable, just make sure that this file is loaded after it (naming the file fishline.fish or fishline-theme.fish should work).

Configuration

To use fishline as your prompt, update or create a fish_prompt.fish file in your functions folder (~/.config/fish/functions by default) to include:

function fish_prompt
    fishline -s $status
end

More informations about installation and configuration available in the wiki.

License

fishline is MIT licensed. See LICENSE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.