Alias | Description |
---|---|
o |
open |
oo |
open . |
.. |
Go back to parent folder |
cd - |
Go to previous opened folder |
cl |
Open codelabs folder |
w |
Open workspace folder |
f |
Open finder |
l |
List all files colorized in long format |
show |
Show hidden files |
hide |
Hide hidden files |
cleanup |
Delete .DS_Store files |
la |
To list all aliases |
Alias | Description |
---|---|
ip |
Show your current ip address |
sca |
Take screenshot of a window of your choice and Eg: sca test.png or sca test.jpg |
logoff |
To logoff |
emptytrash |
Empty the Trash on all mounted volumes and the main HDD |
zip |
Create a zip |
kt |
To kill all chrome tabs (stable & canary) |
st |
Open sublime text editor. Eg: st . opens sublime for current directory |
at |
Open atom editor. Eg: at . opens atom for current directory |
code |
Open vscode editor. Eg: code . opens vscode for current directory |
server |
Python server for current directory |
update |
To update brew, npm, gem and their installed packages |
Alias | Description |
---|---|
g |
Git command |
s |
Show git status |
ggpush |
Git push into current branch |
ggpull |
Git pull into current branch |
gf |
Git fetch |
gc -m "My commit msg" |
Git commit with commit message |
gco <branch-name> |
Git checkout to a branch |
gco <file-name> |
Git checkout a file |
ga . |
Git add all files |
ga <file-name> |
Git add a file |
gco - |
Git checkout to previous branch |
gb -M <branch-name> |
Git create a new branch & checkout to that branch |
gb -D <branch-name> |
Git delete a new branch |
gd <file-name> |
Git show diff for a particular file |
gd |
Git show diff for all the files |
Alias | Description |
---|---|
z <folder-name> |
cd into your recent folders |
Alias | Description |
---|---|
npmi |
NPM install |
npmg |
NPM install globally |
ya |
Yarn add |
yad |
Yarn add in devDependency |
yag |
Yarn add globally |