Hish

https://github.com/jaiyalas/Hish

Latest on Hackage:0.1.2.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Yun-Yan Chi
Maintained by jaiyalas@gmail.com

Hish

Build Status MIT Haskell

Generating a beautiful and useful prompt. (Warning: darcs is supported but turned-off by default.)

Features

Done

  • [X] Basic ANSI color
  • [X] show local time
  • [X] show user name
  • [X] show host name
  • [X] show working directory + will be shortened if too long
  • [X] support version control system + git (fully supported) + darcs (darcs has no branch; tracking status is not supported)
  • [X] show branch name (git only)
  • [X] show index/tree status (git and darcs) + \ - clean + ? - clean but still having untracked files + # - dirty non-empty index + ** - dirty with empty index
  • [X] show tracking status (git only) + +n - branch is ahead by n + -n - branch is behind by n

Todo

  • [ ] use config file
  • [ ] re-design the darcs supporting system
  • [ ] implement color theme
  • [ ] show SSH info
  • [ ] load environment variables

Installation

> cabal install Hish

Changes

Revision history for Hish

0.0.1 -- 2015-10-16

  • [+] show index/tree status (git only)
  • [+] show branch name (git only)
  • [+] show working tree (shortenable)

0.1.0 -- 2015-10-20

  • [+] show user name
  • [+] show host name
  • [+] show tracking status (git only)
  • [+] support ANSI color
  • [m] improve index/tree status (git only)

0.1.0.1 -- 2015-10-20

  • none (fixing version-number only)

0.1.1.0 -- 2015-10-20

  • [+] show local time
  • [+] support darcs (incompolete)
  • [m] wrap/extract printing-functions from main

0.1.2.0 -- 2015-10-20

  • [m] implement supporting of darcs
  • [+] check executability of vcs

0.1.2.1 -- 2015-10-21

  • [m] re-design status symbol
  • [m] reset prompt format and color
  • [-] turn-off the supporting of darcs

0.1.2.2 -- 2015-10-22

  • [m] bug fixed

0.1.2.3 -- 2016-03-26

  • [m] bug fixed
  • [m] change the verifying method for git-status
  • [+] new framework for VCS
  • [+] separated dracs-related functions
comments powered byDisqus