-
Notifications
You must be signed in to change notification settings - Fork 95
Zsh Aliases
Nick S. Plekhanov edited this page Mar 22, 2016
·
1 revision
Alias | Description |
---|---|
o |
open |
oo |
open . |
e |
Open up default $EDITOR
|
g |
git |
v |
vim |
gh |
github |
+x / x+
|
chmod +x |
mv |
Show files after they are moved. |
rm |
Remove files recursively in interactive mode. |
cp |
Show files as they are copied. |
ungz |
Keep input files during gzip compression/decompression. |
trimcopy |
Trim new lines and copy text to the clipboard. |
vag |
vagrant |
vagup |
vagrant up |
vagdestroy |
vagrant destroy |
vagssh |
vagrant ssh |
vaghalt |
vagrant halt |
htop |
sudo htop |
hosts |
Open up hosts file in the default editor. |
l |
List all files colorized in long format. |
la |
List all files colorized in long format, including dot files. |
ls |
List all files colorized in long format, incuding dot files, grouped by directories, with folders separators for indication. |
lsd |
List only directories. |
myip |
Display my IP. |
pubkey |
Copy my public key to the pasteboard. |
flushdns |
Flush DNS cache. |
gr |
cd to Git repo root. |
gist-paste <filename.ext> |
Create private Gist from the clipboard contents. |
gist-file <filename.ext> |
Create private Gist from a file. |
get <url> |
Download file and save it with filename of remote file. |
cleanup_dsstore |
Recursively delete .DS_Store files. |
diskspace_report / free_diskspace_report
|
Report on a disc space. |
emptytrash |
Empty the Trash on all mounted volumes and the main HDD. Also, clear Apple’s System Logs & the useless sleepimage to improve shell startup speed. |
showdotfiles / hidedotfiles
|
Show/hide hidden files in Finder. |
showdesktop / hidedesktop
|
Show/hide all desktop icons (useful when presenting). |
brew_update |
Update installed Homebrew and installed packages. |
update_brew_npm_gem |
Update installed Ruby gems, Homebrew, npm, and their installed packages. |
GET / HEAD / POST / PUT / DELETE / TRACE / OPTIONS <url> |
Make HTTP request using respective method. |