summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.bash_profile2
-rw-r--r--dotfiles/.bashrc2
2 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile
index ff1ce98..95afd90 100644
--- a/dotfiles/.bash_profile
+++ b/dotfiles/.bash_profile
@@ -4,11 +4,13 @@
function guixsd() {
return `test -d /run/current-system`
}
+export -f guixsd
# Test if this is my VHL workstation
function vhl() {
return `test $(hostname) == "7VWJD42"`
}
+export -f vhl
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc
index 7df2867..00fe270 100644
--- a/dotfiles/.bashrc
+++ b/dotfiles/.bashrc
@@ -48,7 +48,7 @@ alias ll='ls -l'
alias guix-dev-env="cd ~/Code/guix; guix environment -e '(@@ (gnu packages package-management) guix-devel)'"
-if vhl;
+if vhl
then
alias rackknife="knife rackspace -c .chef/rack_knife.rb"
fi