mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 11:15:31 +00:00
README: Document fish shell prompt customization
This commit is contained in:
parent
ccedfe7472
commit
c23be22adc
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -123,6 +123,16 @@ In your `.zshrc`, you should add something like:
|
|||
export PROMPT="$GST_ENV-$PROMPT"
|
||||
```
|
||||
|
||||
### Fish prompt
|
||||
|
||||
In your `~/.config/fish/functions/fish_prompt.fish`, you should add something like this at the end of the fish_prompt function body:
|
||||
|
||||
```
|
||||
if set -q GST_ENV
|
||||
echo -n -s (set_color -b blue white) "(" (basename "$GST_ENV") ")" (set_color normal) " "
|
||||
end
|
||||
```
|
||||
|
||||
### Using powerline
|
||||
|
||||
In your powerline theme configuration file (by default in
|
||||
|
|
Loading…
Reference in a new issue