Hacker News new | past | comments | ask | show | jobs | submit login

I also like setting my history so that it appends to the history file after each command, so that they don't get clobbered when you have two shells open:

  shopt -s histappend
  export PROMPT_COMAND="history -a"



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: