From 16b6e0a8514dc83c7751e66e3ee84fba2fd8aa8e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 31 Jan 2021 10:39:08 +0100 Subject: Add powerline status line --- system/.bashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'system/.bashrc') diff --git a/system/.bashrc b/system/.bashrc index 3d93ddd..98d3078 100644 --- a/system/.bashrc +++ b/system/.bashrc @@ -115,13 +115,13 @@ fi [ -f ~/.fzf.bash ] && source ~/.fzf.bash -# Path abbreviations like Vim, see http://unix.stackexchange.com/a/26885/37050 -PROMPT_COMMAND='pwd2=$(if [ "$PWD" != "$HOME" ]; then sed "s:\([^/]\{1,2\}\)[^/]*/:\1/:g" <<<$PWD; else echo "~";fi)' -export PS1='\u@\h:$pwd2\$ ' - GPG_TTY=$(tty) export GPG_TTY +powerline-daemon -q +POWERLINE_BASH_CONTINUATION=1 +POWERLINE_BASH_SELECT=1 +. /usr/local/lib/python3.7/dist-packages/powerline/bindings/bash/powerline.sh PATH="/home/camil/perl5/bin${PATH+:}${PATH}"; export PATH; PERL5LIB="/home/camil/perl5/lib/perl5${PERL5LIB+:}${PERL5LIB}"; export PERL5LIB; -- cgit v1.2.3