diff options
author | David Thompson <davet@gnu.org> | 2015-06-10 08:22:20 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-06-10 08:22:40 -0400 |
commit | 6fd928594534b2b297071b1790a3d91f6714982c (patch) | |
tree | e4315b9cdce60b17ffad43e29525009f2d0899d1 | |
parent | a2885eefc22513329c01ca86c8e2c43c440e17fc (diff) |
bash: Export ghl and guixsd functions.
-rw-r--r-- | dotfiles/.bash_profile | 2 | ||||
-rw-r--r-- | dotfiles/.bashrc | 2 |
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 |