Skip to content

Instantly share code, notes, and snippets.

@dmccreary
Last active April 8, 2025 19:23
Show Gist options
  • Save dmccreary/5d50df6a5595ba3bb01948842fee0720 to your computer and use it in GitHub Desktop.
Save dmccreary/5d50df6a5595ba3bb01948842fee0720 to your computer and use it in GitHub Desktop.
Sample startup file for MacOS
# short UNIX shell prompt
PS1='%2~ %\$ '
# alias to open visual studio code using the workspace
alias ovs='open -a "Visual Studio Code" *.code-workspace
# all the steps to publish content
alias pc='clear;git pull;git add *; git commit -m "updating content"; git push; mkdocs gh-deploy;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment