Git Product home page Git Product logo

shish's Introduction

Shish

There's lots of tools that let you switch between shell prompts. But how many tools help you design your own?

Shish is a toolkit for improving your fish shell. Assemble your own kebab of powerful prompt components, hooked together into just the prompt you want. Each component has a standard config file (or piped in config) and a powerful API to give you exactly the output you want, colorized nicely.

The juicy bits

So, what tools can you use to customize your prompt? There's built-in components for:

  • Ruby version (extra info if you use rbenv)
  • Git status
    • Current branch (optional: highlight specific branches)
    • Summarized status: symbols for untracked files, modified files, deleted files, unpushed commits, stashes, commits ahead/behind
  • Title component (easily use any components in your terminal's tab or window title)
  • Running program
  • Return status
  • Current directory (with a few display options)
  • Current user (ssh, normal, root)

Whaaaaat?

Portable prompt! There's a little bit of overhead, so you probably don't want to do it unless this is something you've already been wishing for, but if you want, you can compile your prompt pieces into a single binary that you can easily move between systems.

Note: This part is actually a complete fantasy.

Details

  • wrapper: this will probably work like a format string. Segments(config includes wrapper, empty-text) or plain text bits.
    • There's also the option of "joiners" with can be optionally powerline-style
  • git-status: current branch and symbols for lots of different things

shish's People

Contributors

duien avatar

Watchers

James Cloos avatar  avatar

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.