Joined February 2013
·
Posted to
Compress the cd, ls -la series of commands
over 1 year
ago
That and the following are my favorite bash functions:
mcd() { mkdir -p "$@" && cd $_; }
This creates a new directory (if it does not exist) and cd's to it.
Achievements
103 Karma
900 Total ProTip Views
Honey Badger
Have at least one original Node.js-specific repo
T-Rex
Have at least one original repo where C is the dominant language
Epidexipteryx
Have at least one original repo where C++ is the dominant language
Forked
Have a project valued enough to be forked by someone else
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Velociraptor
Have at least one original repo where Perl is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Raven
Have at least one original repo where some form of shell script is the dominant language
Add this to the .vimrc:
Now typing w!! will save it with sudo. No need to remember the whole thing.