Skip to content

Best hacks in your .bash_profile and .bashrc?

blog.matthewghudson.com
3 pointsmatth4 comments
On HN

Comments

This is great for showing/hiding files on OSX:

    alias show='defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder'
    alias hide='defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder'

Can't comment on your blog...

Personally, I prefer to move all the git alias into the .gitconfig https://gist.github.com/943990

At the end of .bashrc,

zsh

    man chsh
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.