Skip to content

Instantly share code, notes, and snippets.

@devhindo
Last active May 23, 2023 07:49
Show Gist options
  • Save devhindo/eef3e8971b110cf1bae3f958a84130b9 to your computer and use it in GitHub Desktop.
Save devhindo/eef3e8971b110cf1bae3f958a84130b9 to your computer and use it in GitHub Desktop.
.bashrc
export PATH="$PATH"
alias python="winpty python.exe"
alias cv="python3 -m venv venv && source venv/Scripts/activate"
alias av="source venv/Scripts/activate"
alias gi="touch .gitignore && echo 'venv/' >> .gitignore && echo '.vscode/' >> .gitignore"
alias nrd="npm run dev"
alias nrb="npm run build"
function add_commit_push() {
git add .
git commit -m "$1"
git push
}
alias gc=add_commit_push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment