summaryrefslogtreecommitdiff
path: root/dotfiles/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.bashrc')
-rw-r--r--dotfiles/.bashrc13
1 files changed, 12 insertions, 1 deletions
diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc
index 2412bed..06f8579 100644
--- a/dotfiles/.bashrc
+++ b/dotfiles/.bashrc
@@ -41,6 +41,14 @@ else
export PS1='\u@\h \w\$ '
fi
+# Add special decoration when we are in an Okta AWS sub-shell.
+if [ -n "$OKTA_AWS_ROLE" ]
+then
+ export PS1="\u@\h \w [$OKTA_AWS_ROLE]\$ "
+else
+ export PS1='\u@\h \w\$ '
+fi
+
alias ls='ls -p --color'
alias ll='ls -l'
@@ -49,7 +57,10 @@ alias sly-dev-env="cd ~/Code/sly; guix environment -l package.scm"
if vhl
then
- alias rackknife="knife rackspace -c .chef/rack_knife.rb"
alias chef-env="cd ~/Code/chef-repo; eval $(~/bin/gem-env chef-repo)"
alias api-env="cd ~/Code/api; eval $(~/bin/gem-env api)"
+ alias knife="bundle exec knife"
+ alias berks="bundle exec berks"
+ alias kitchen="bundle exec kitchen"
+ alias cfer="bundle exec cfer"
fi