aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-03-31 20:23:46 -0700
committerJakob Odersky <jakob@odersky.com>2018-03-31 20:23:46 -0700
commit25ea926b955bde66f2618c591d05a4e77549fc91 (patch)
tree3bccf266c212ef1a143b36b63cd10398caf1c514
parent19ac46d33c6273b602b512482ffbf0962b432450 (diff)
downloaddotfiles-25ea926b955bde66f2618c591d05a4e77549fc91.tar.gz
dotfiles-25ea926b955bde66f2618c591d05a4e77549fc91.tar.bz2
dotfiles-25ea926b955bde66f2618c591d05a4e77549fc91.zip
Update bash aliases and prompt
-rw-r--r--home/.bash_aliases5
-rw-r--r--home/.bashrc.d/prompt.sh4
2 files changed, 9 insertions, 0 deletions
diff --git a/home/.bash_aliases b/home/.bash_aliases
index c92db25..5b8bfb3 100644
--- a/home/.bash_aliases
+++ b/home/.bash_aliases
@@ -1,2 +1,7 @@
alias ec="emacsclient --alternate-editor='' --tty"
+alias ecw="emacsclient --alternate-editor='' --no-wait --create-frame"
alias g=git
+alias term="sakura &"
+alias kl='kubectl --context=minikube'
+alias t="term"
+alias i="idea . &" \ No newline at end of file
diff --git a/home/.bashrc.d/prompt.sh b/home/.bashrc.d/prompt.sh
index 6faa14e..a50ad25 100644
--- a/home/.bashrc.d/prompt.sh
+++ b/home/.bashrc.d/prompt.sh
@@ -20,6 +20,10 @@ function __prompt_command() {
PS1+="${red}(✗)${reset} "
fi
+# if [[ $(command -v kubectl) ]]; then
+# PS1+="[$(kubectl config current-context)] "
+# fi
+
PS1+="${debian_chroot:+($debian_chroot)}${light_green}\u@\h${reset}:${light_blue}\W${reset}"
### Add Git Status ###