aboutsummaryrefslogtreecommitdiff
path: root/config
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 /config
parent23ea135944cab0abc7dc7bb0b1dbc622bbd59e0e (diff)
downloaddotfiles-ae00cbc0b602d074feac45879e55891574efe7c3.tar.gz
dotfiles-ae00cbc0b602d074feac45879e55891574efe7c3.zip
guix: export DOTFILES_LOCATION during session init
Diffstat (limited to 'config')
-rw-r--r--config/fish/config.fish4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish
index 10ab766..6d9c74c 100644
--- a/config/fish/config.fish
+++ b/config/fish/config.fish
@@ -5,7 +5,9 @@ if not contains ~/.local/bin $PATH
end
# export the path to our dotfiles
-set -x DOTFILES_LOCATION (get_dotfiles_location)
+if not set -q DOTFILES_LOCATION
+ set -x DOTFILES_LOCATION (get_dotfiles_location)
+end
# include cargo binaries
if type -q multirust