Last active
November 12, 2018 07:44
-
-
Save ronaldsuwandi/1442f5e926a070a3739117516fb1b379 to your computer and use it in GitHub Desktop.
Revisions
-
ronaldsuwandi revised this gist
Nov 12, 2018 . 1 changed file with 9 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,10 +3,13 @@ alias ll='ls -l' export JAVA_HOME=/Libary/Java/Home kubecontext() { if [[ -e ~/.kube/config && $(type -P kubectl 2>/dev/null) ]]; then echo -n " [$(kubectl config current-context)]" else echo -n "" fi } export PS1="\w\$(kubecontext) ☕️ " -
ronaldsuwandi created this gist
Sep 21, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ alias ls='ls -FGH' alias ll='ls -l' export JAVA_HOME=/Libary/Java/Home if [[ -e ~/.kube/config && $(type -P kubectl 2>/dev/null) ]]; then CURRENT_CONTEXT=" [$(kubectl config current-context)]" else CURRENT_CONTEXT="" fi export PS1="\w${CURRENT_CONTEXT} ☕️ "