summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2017-12-01 14:16:34 +0000
committerPhilippe Normand <philn@igalia.com>2017-12-01 14:16:34 +0000
commitc23be22adcacbc6a455476a09d1c28def705211a (patch)
tree02141d1f5b8eab3a98cb5e80cf9ab8049d13485a /README.md
parentccedfe74727d7a44dfcdbcfd93efc9abcab1a991 (diff)
downloadgstreamer-c23be22adcacbc6a455476a09d1c28def705211a.tar.gz
README: Document fish shell prompt customization
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a0f9d93fe..80585904b0 100644
--- a/README.md
+++ b/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