Assume hub, since it's great, and do the gpg thing for pinentry.

This commit is contained in:
Anna Rose 2017-03-14 14:30:43 -04:00
parent 05f8520a72
commit 5d331c6414
No known key found for this signature in database
GPG Key ID: BE7700199F785867

View File

@ -7,6 +7,7 @@ alias arduino-serial="cu -l /dev/ttyACM0 -s 115200"
alias emacs="/usr/bin/emacs -nw" alias emacs="/usr/bin/emacs -nw"
alias grep='LC_ALL="C" grep' alias grep='LC_ALL="C" grep'
alias bt='transmission-remote' alias bt='transmission-remote'
alias git='hub'
function fancy_ps1 () { function fancy_ps1 () {
local COLOR1="\033[1;32m" local COLOR1="\033[1;32m"
@ -18,3 +19,5 @@ function fancy_ps1 () {
} }
PS1="\[\033[0;37m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[0;31m\]\h'; else echo '\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; fi)\[\033[0;37m\]]\342\224\200\$(fancy_ps1)\[\033[0;37m\]\n\[\033[0;37m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]" PS1="\[\033[0;37m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[0;31m\]\h'; else echo '\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; fi)\[\033[0;37m\]]\342\224\200\$(fancy_ps1)\[\033[0;37m\]\n\[\033[0;37m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]"
export GPG_TTY=$(tty)