summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-02-13 11:42:47 -0500
committerDavid Thompson <dthompson2@worcester.edu>2016-02-13 11:42:47 -0500
commit1a065ee7a6fc79695e6b59f0f018a93f4108784f (patch)
tree5765bf8f49db9604f6c047302f17ca94d13725d3
parente406e2cb63de0fbed14df5c44aa70f22c9fc05ed (diff)
Update bash config.
-rw-r--r--dotfiles/.bash_profile5
-rw-r--r--dotfiles/.bashrc2
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