aboutsummaryrefslogtreecommitdiff
path: root/guix/bashrc
diff options
context:
space:
mode:
authorFlorian Fischer <muhq@muhq.space>2017-08-08 14:38:57 +0200
committerFlorian Fischer <muhq@muhq.space>2017-08-08 14:38:57 +0200
commitae00cbc0b602d074feac45879e55891574efe7c3 (patch)
tree41fc39dc7c01c47e7e229b4ae7f610c994bd5dba /guix/bashrc
parent23ea135944cab0abc7dc7bb0b1dbc622bbd59e0e (diff)
downloaddotfiles-ae00cbc0b602d074feac45879e55891574efe7c3.tar.gz
dotfiles-ae00cbc0b602d074feac45879e55891574efe7c3.zip
guix: export DOTFILES_LOCATION during session init
Diffstat (limited to 'guix/bashrc')
-rw-r--r--guix/bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/guix/bashrc b/guix/bashrc
index 986cd82..c321c83 100644
--- a/guix/bashrc
+++ b/guix/bashrc
@@ -22,5 +22,11 @@ else
PS1='\u@\h \w\$ '
fi
+# set DOTFILES_LOCATION for i3
+if [[ "$DOTFILES_LOCATION " == " " ]]
+then
+ export DOTFILES_LOCATION=$(~/.local/bin/get_dotfiles_location)
+fi
+
# exec fish
! shopt -q login_shell && exec fish