From 08e4537ead451c630372b3c615a8ad68c75016ae Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 26 Oct 2016 15:45:46 -0700 Subject: [bash] Add time (UTC) to my prompt. Remove a few alias for work (the aliases are in my ssh config). --- bashrc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bashrc b/bashrc index ad4ea96..6b5ccf1 100644 --- a/bashrc +++ b/bashrc @@ -12,7 +12,7 @@ export GOPATH="${HOME}/gocode" [ "${BASH_VERSINFO}" -gt 3 ] && shopt -s autocd # prompts -export PS1="\W % " +export PS1="[\$(date -u '+%T %D')]\W % " alias e="$EDITOR" alias et="emacsclient -nw" @@ -29,12 +29,6 @@ alias au="aurora" alias g="git" alias k="kubectl" -alias gobknest="ssh -K bookkeeper@nest.smfc.twitter.com" -alias goebnest="ssh -K eventbus@nest.smfc.twitter.com" -alias gonest="ssh -K nest.smfc.twitter.com" - -alias vi="ed" - # finally, build the path [ -d "${HOME}/bin" ] && PATH="${HOME}/bin:${PATH}" [ -d "${GOPATH}/bin" ] && PATH="${GOPATH}/bin:${PATH}" -- cgit 1.4.1