diff options
Diffstat (limited to 'guix/.dotfiles/.bashrc')
-rw-r--r-- | guix/.dotfiles/.bashrc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/guix/.dotfiles/.bashrc b/guix/.dotfiles/.bashrc index 1c5c069..a9f31f0 100644 --- a/guix/.dotfiles/.bashrc +++ b/guix/.dotfiles/.bashrc @@ -1,5 +1,13 @@ export GUIX_PACKAGE_PATH=$HOME/.guix-packages export GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles -export PS1="\e[0;34m\u@\e[0;35m\h \e[0;30m\w\${GUIX_ENVIRONMENT:+ [env]}$ " +draw_line() +{ + local COLUMNS="$COLUMNS" + while ((COLUMNS-- > 0)); do + printf '\u2500' + done +} + +export PS1="\e[37m$(draw_line)\e[32m\u\e[0m@\e[36m\h \e[1m\e[30m\w\${GUIX_ENVIRONMENT:+ [env]} \n\033[31m>>>\033[0m " |