summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2021-06-09 18:34:27 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2021-06-09 18:34:27 +0200
commit79eff7c7dceec168cdeb23c894df43bff4c17d13 (patch)
tree3e79588f5941a5b8d4b1470893eb43173a1fe835 /.bashrc
parent566072896f894e8e49e84bf15781ed6727baf0c2 (diff)
Update prompt. Switch to firefox.
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 40db5eb..59e36f0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,7 +1,7 @@
[ -n "$ENV" ] && . "$ENV" || [ -e ~/.env ] && . ~/.env
# Prompt for Bash
-export PS1="\[\033[1;33m\]\u@\h:\W\$ \[\033[0m\]"
+export PS1='\[\033[1;33m\]$(prompt)\[\033[0m\]'
# Verify before running history command
shopt -s histverify
@@ -29,3 +29,8 @@ _direnv_hook() {
if ! [[ "${PROMPT_COMMAND:-}" =~ _direnv_hook ]]; then
PROMPT_COMMAND="_direnv_hook${PROMPT_COMMAND:+;$PROMPT_COMMAND}"
fi
+
+alias gl='git pull'
+alias gcm='git checkout master'
+alias gco='git checkout'
+alias gst='git status'