summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_aliases1
-rw-r--r--.bashrc5
2 files changed, 4 insertions, 2 deletions
diff --git a/.bash_aliases b/.bash_aliases
index c3ab8c6..91e0cac 100644
--- a/.bash_aliases
+++ b/.bash_aliases
@@ -50,6 +50,7 @@ alias gpl='git pull'
alias gps='git push'
alias gsm='git submodule'
alias gwt='git worktree'
+alias gur='git update-ref'
b()
{
diff --git a/.bashrc b/.bashrc
index f378a33..0305d28 100644
--- a/.bashrc
+++ b/.bashrc
@@ -16,10 +16,11 @@ shopt -s histappend
set +H
# Prompt
-PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+PS1='\[\033[01;32m\]\u@\h\[\033[00m\]'
if [ -r /etc/debian_chroot ]; then
- PS1="(\[\033[01;35m\]$(cat /etc/debian_chroot)\[\033[00m\])${PS1}"
+ PS1="${PS1}(\[\033[01;35m\]$(cat /etc/debian_chroot)\[\033[00m\])"
fi
+PS1="${PS1}"':\[\033[01;34m\]\w\[\033[00m\]\$ '
# Terminal window title
case "${TERM}" in xterm*|rxvt*)
PS1="\[\e]0;\u@\h:\w\a\]${PS1}"