Skip to content

Instantly share code, notes, and snippets.

@joeabrams026
Last active February 23, 2017 21:49
Show Gist options
  • Save joeabrams026/8d5247fce056968ccbbca1f58a557b07 to your computer and use it in GitHub Desktop.
Save joeabrams026/8d5247fce056968ccbbca1f58a557b07 to your computer and use it in GitHub Desktop.

getting an .sshrc

  • brew install .sshrc
  • add things to .sshrc you want run in new ssh sessions
export PROMPT_COMMAND='history -a'
alias lastupdated='stat --printf="%y %n\n" $(ls -tr $(find * -type f))'
  • alias ssh=sshrc in your local .*rc file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment