An open API service indexing awesome lists of open source software.

https://github.com/bryaneaton13/bash-pro

Easily accessible profile files - aliases/functions
https://github.com/bryaneaton13/bash-pro

bash bash-profile git-help scripts

Last synced: 1 day ago
JSON representation

Easily accessible profile files - aliases/functions

Awesome Lists containing this project

README

          

## My Profiles (Bash and Oh My Zsh)

These are some common commands to put in `.bash_profile` script to help while developing

#### Terminal

- `up` - cd ..
- `u` - cd ../
- `cl` - clear

#### Git commands

- `gs` - git status
- `gf` - git fetch
- `gp` - git pull
- `gpr` - git pull --rebase
- `ga` - git add .
- `gd` - git diff
- `gc` - git commit
- `gcm` - git commit -m
- `gcheck` - git checkout
- `gmerge` - git merge
- `gpush` - git push
- `gclone` - git clone
- `gt` - git tag
- `gl` - git log
- `gl1` - git log -1
- `gl2` - git log -2
- `gl3` - git log -3
- `gl5` - git log -5
- `gshow` - git show HEAD
- `gshow1` - git show HEAD~1
- `gshow2` - git show HEAD~2
- `got` - git
- `get` - git

#### NPM

- `nr` - npm run

#### Programs

Open current directory in Finder, Atom, or Visual Studio Code

- `o` - open .
- `vs` - code .

Shortcut to run docker commands

- `d` - docker

#### `aliases` and `functions` files go in the `zsh/custom` directory