Skip to content

Instantly share code, notes, and snippets.

@roymacdonald
Created July 1, 2019 17:05
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 roymacdonald/f4bb15b23ce0f9b1d553949cb96d0f12 to your computer and use it in GitHub Desktop.
Save roymacdonald/f4bb15b23ce0f9b1d553949cb96d0f12 to your computer and use it in GitHub Desktop.
export PS1="\[\e[1;93m\]\h\[\e[0m\]:\[\e[1;96m\]\w\[\e[0m\] \u\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias randPass="openssl rand -base64 12"
alias findGrep="find . -type f -print0 | xargs -0 grep -C2 --color"
alias findGrepCpp="find . -type f -name "*.h" -or -name "*.hpp" -or -name "*.cpp" -print0 | xargs -0 grep -C2 --color"
alias findGrepMultiline="find . -type f -print0 | xargs -0 pcregrep --color -C2 -M "
alias gss="git status"
alias gcm="git commit"
alias gcl="git clone"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment