Created
January 15, 2020 20:56
-
-
Save sonicintrusion/bbd028adab40cba8230c08427801168e to your computer and use it in GitHub Desktop.
Bash profile for okta aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. ~/.profile | |
export PS1okta='\j:\[\033[32m\]$SHLVL:$AWS_OKTA_PROFILE\[\033[01;34m\]$(_dir_chomp "$(pwd)" 20)\[\033[37m\]$(_parse_git_branch)' | |
okta_kube () { | |
export PS1="$PS1okta\[\033[36m\]$(_kube_context)$PS1suffix" | |
} | |
okta_ps1 () { | |
export PS1="$PS1okta$PS1suffix" | |
} | |
okta_ps1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment