3 ms·
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:
by dinedal 13y 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 http://d.pr/i/B9LT
- aktau 13y agoInstead of that git command, I just default to running "tig": http://blogs.atlassian.com/2013/05/git-tig/ http://blogs.atlassian.com/2013/05/git-tig/ available everywhere it counts (arch, debian, homebrew)
- barryclark 13y agoThat's awesome. Will definitely be adding it in, thanks!