a fish shell transient prompt
1# bugstyle
2
3it's a fish shell prompt. you have to do it bug style.
4
5you can install it using fisher... is what i would say if you could use fisher
6to install things from non-github repositories. not the case here, this is on
7tangled. you _can_ just take the fish_prompt.fish file and put it in
8`~/.config/fish/functions` for now.
9
10you need to `set fish_transient_prompt 1` for the transient prompt feature to
11work. this only exists on fish>=4.1.0
12
13```
14~/c/bugstyle.fish → ls
15README.md functions/
16~/c/bugstyle.fish → pwd
17/Users/meri/code/bugstyle.fish
18~/c/bugstyle.fish → sh -c "exit 1"
19
20~/code/bugstyle.fish
21[1] → █
22```