Skip to content

Instantly share code, notes, and snippets.

@gcamp806
Last active September 5, 2017 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gcamp806/5059158 to your computer and use it in GitHub Desktop.
Save gcamp806/5059158 to your computer and use it in GitHub Desktop.
for certain debian versions (e.g. the version used by DreamHost)
# ~/.bash_profile: executed by bash(1) for login shells.
# below lines are added to the end of .bashrc
#__prompt_command ()
#{
# local pwd='~';
# [ "$PWD" != "$HOME" ] && pwd=${PWD/#$HOME\//\~\/};
# printf "\033]0;%s@%s: %s\007" "${USER}" "${HOSTNAME%%.*}" "${pwd}"
#}
#
#PROMPT_COMMAND=__prompt_command
enf() { cd ~/src/enf"$@" ; }
alias df='df -h'
alias e='_(){ emacs $@ & }; _'
alias em='emacs -nw'
alias es='esql'
alias p='prod_db'
source ~/.bash/prompt.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment