From cc6eb73c353cd90715d702362e7683271f4a1fe6 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Wed, 14 Mar 2012 00:25:39 -0400 Subject: [PATCH] Unicode prompt! ... and a git alias --- bash_functions | 6 +++--- gitconfig | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bash_functions b/bash_functions index 1f943f2..4a77c6c 100644 --- a/bash_functions +++ b/bash_functions @@ -212,11 +212,11 @@ function rss_pid_command(){ function precmd(){ - PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;32m\]" + PS1="\[\033[01;32m\]\u@\h\[\033[00m\]⋮\[\033[01;32m\]" PS1="$PS1$(trunc_pwd)\[\033[00m\] " local pcla="$(which print-color-loadavg 2>/dev/null)" - test -n "$pcla" && test -x $pcla && PS1="$PS1($(print-color-loadavg)) " - PS1="$PS1$(__git_ps1 "(%s)")\n⍨ " + test -n "$pcla" && test -x $pcla && PS1="$PS1⎛$(print-color-loadavg)⎠ " + PS1="$PS1$(__git_ps1 "⎛%s⎠")\n≻ " if [ -n "$1" ] then diff --git a/gitconfig b/gitconfig index 2516df5..5b538fd 100644 --- a/gitconfig +++ b/gitconfig @@ -47,7 +47,7 @@ ls = ls-files nuke = clean -dfx pr = pull --rebase - s = status + s = status --short st = status sta = stash stcq = diff --cached --name-only