Hacker News new | ask | show | jobs
by dinedal 4568 days ago
I'm a zsh-er and use oh-my-zsh, but I borrowed the syntax highlighting, called it `sat` short for "source cat", and piped through less for paginated output:

  # before use: [sudo] easy_install pygments
  alias sat='pygmentize -O style=monokai -f console256 -g | less'
I like these kinds of projects, because someone always shows me something in my set up I don't have, and it's really trivial to borrow from them.

In return, I feel everyone should have a proper git log alias, here's mine:

  alias logg="git log --graph --oneline --all --decorate --abbrev-commit"
Example output: http://d.pr/i/B9LT
2 comments

Instead of that git command, I just default to running "tig": http://blogs.atlassian.com/2013/05/git-tig/ available everywhere it counts (arch, debian, homebrew)
That's awesome. Will definitely be adding it in, thanks!