summary refs log tree commit diff
path: root/.profile
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-01-29 16:15:37 +0100
committerRobert Günzler <r@gnzler.io>2020-01-29 17:55:11 +0100
commitea3a79d71a6432c58bc26738ff929d1f774aecf0 (patch)
treec99dc8c9cce70ae9e06224bb9db3cc3a46b04a19 /.profile
parent9a419430055acd70789269e1bdfd97cc50dc5d4e (diff)
prompt: Make it easier to configure
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 1 insertions, 3 deletions
diff --git a/.profile b/.profile
index 161796e..bc2e458 100644
--- a/.profile
+++ b/.profile
@@ -17,9 +17,7 @@ export MAKEOPTS="-j${NUMCPUSplusone} -l${NUMCPUS}"
 export EMERGE_DEFAULT_OPTS="--jobs=${NUMCPUSplusone} --load-average=${NUMCPUS}"
 
 # Set prompt
-GREEN="\[$(tput setaf 2)\]"
-RESET="\[$(tput sgr0)\]"
-export PS1="${GREEN}\w${RESET} $(porcelain) ❱ "
+export PS1="$(prompt)"
 # enlable vi mode
 set -o vi
 bind -m vi-insert -x '"\C-l": clear'