Skip to content

Easily accessible profile files - aliases/functions

Notifications You must be signed in to change notification settings

bryaneaton13/bash-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Easily accessible profile files - aliases/functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages