HNHacker News
TopNewBestAskShowJobs

basename

250 karma · joined February 28, 2017

submissionscomments
basename··on Show HN: *nixy filter to color stdout, by rows or space-separated columns
I've been looking for a simple way to separate commands from their arguments, in 'history' output. Aliased.

    [ -x $HOME/bin/colorize.py ] && alias h="history | colorize.py 4"
basename··on What is your pick for the most mind bogglingly incredible software of all time?
It amazes me what git is capable of, fresh out of the box.

Most of the things that I've found useful over the years - procmail and mutt, or vim - need quite a bit of configuring before unleashing their full power. Writing procmail recipes is like potting-training a pig.

But for the most part, git shows up ready to work.

basename··on How not to quit your career when Git opens a vi editor
Or, configure git to use a different editor, and do things properly.

    git config --global core.editor [your choice]
basename··on Useful bash oneliners
Something I use quite often, to create a new Maildir under $HOME

    mkdir -p ~/Mail/{cur,new,tmp}
basename··on Show HN: Find cheap weekend train tickets
What country does this serve?