From 1a065ee7a6fc79695e6b59f0f018a93f4108784f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 13 Feb 2016 11:42:47 -0500 Subject: Update bash config. --- dotfiles/.bash_profile | 5 ++++- dotfiles/.bashrc | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile index 35827ef..bc424ab 100644 --- a/dotfiles/.bash_profile +++ b/dotfiles/.bash_profile @@ -29,7 +29,8 @@ export EDITOR=emacsclient # Guile export GUILE_LOAD_PATH="/home/dave/.guix-profile/share/guile/site/2.0:$GUILE_LOAD_PATH" -export GUILE_LOAD_COMPILED_PATH="/home/dave/.guix-profile/share/guile/site/2.0:$GUILE_LOAD_COMPILED_PATH" + export GUILE_LOAD_COMPILED_PATH="/home/dave/.guix-profile/lib/guile/2.0/ccache:/home/dave/.guix-profile/share/guile/site/2.0:$GUILE_LOAD_COMPILED_PATH" + # Ruby export GEM_PATH="$HOME/.guix-profile/lib/ruby/gems/2.2.0" @@ -37,6 +38,8 @@ export GEM_PATH="$HOME/.guix-profile/lib/ruby/gems/2.2.0" # Guix export GUIX_PACKAGE_PATH="$HOME/Code/guix-custom" +export TERMINFO_DIRS="/home/dave/.guix-profile/share/terminfo" + # Extra configuration needed on non-GuixSD systems. if ! guixsd then diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index a49f5c6..73e4ee3 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -36,7 +36,7 @@ shopt -s globstar # Add special decoration when we are in a Guix environment sub-shell. if [ -n "$GUIX_ENVIRONMENT" ] then - export PS1="[dev] \u@\h \w\$ " + export PS1="[dev $SHLVL] \u@\h \w\$ " else export PS1='\u@\h \w\$ ' fi -- cgit v1.2.3