diff options
author | Philippe Normand <philn@igalia.com> | 2017-12-01 14:16:34 +0000 |
---|---|---|
committer | Philippe Normand <philn@igalia.com> | 2017-12-01 14:16:34 +0000 |
commit | c23be22adcacbc6a455476a09d1c28def705211a (patch) | |
tree | 02141d1f5b8eab3a98cb5e80cf9ab8049d13485a /README.md | |
parent | ccedfe74727d7a44dfcdbcfd93efc9abcab1a991 (diff) | |
download | gstreamer-c23be22adcacbc6a455476a09d1c28def705211a.tar.gz |
README: Document fish shell prompt customization
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |