Hacker News new | ask | show | jobs
Best hacks in your .bash_profile and .bashrc? (blog.matthewghudson.com)
3 points by matth 5437 days ago
3 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