https://github.com/appcypher/pish
A minimal fish shell prompt made of raw fish.
https://github.com/appcypher/pish
Last synced: about 1 year ago
JSON representation
A minimal fish shell prompt made of raw fish.
- Host: GitHub
- URL: https://github.com/appcypher/pish
- Owner: appcypher
- License: apache-2.0
- Created: 2020-07-23T13:45:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-24T16:14:26.000Z (almost 6 years ago)
- Last Synced: 2025-03-05T15:03:24.061Z (over 1 year ago)
- Language: Shell
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pish
A minimal fish shell prompt made of raw fish. A minor improvement over the sashimi prompt.
## Features
- Compatible with fish 3.0+
- Displays shrinked parent directory
- Git support
- Shows clean/dirty status
- Shows branch ahead/behind information
- Discourages working on master branch
- Shows error exit status in red
## Installation
You can install sashimi by cloning this repository and linking the `fish_prompt.fish` file to your `~/.config/fish/functions` directory or any directory in your fish functions path.
```shell
git clone https://github.com/appcypher/pish
cd pish
ln -s fish_prompt.fish ~/.config/fish/functions/fish_prompt.fish
```
If you are using a package manager, you have the following options:
- Using [Fisher](https://github.com/jorgebucaran/fisher):
```shell
fisher add appcypher/pish
```
- Or, if you prefer [Oh My Fish!](https://github.com/oh-my-fish/oh-my-fish):
```shell
omf install pish
```
## Credits
This prompt was inspired by other prompts like:
- [sashimi](https://github.com/isacikgoz/sashimi)