Stop the war!

Stop the war in Ukraine! Fuck putin!

More information is at:

There is a fund to support the Ukrainian Army:, and there is a special bank account that accepts funds in multiple currencies: I donated to them. Please donate if you can!

Killer putin

Killer putin. Source:

Arrested putin

"It hasn't happened yet, but it will happen sooner or later. Beautiful photo, isn't it?" Source: twitter.

Bash/zsh: pager with syntax highlighting

| comments

This is a quick reminder of a very useful function for bash/zsh that I use every day:

# syntax highlighting pager
# use instead of less
function = () {
    /usr/share/vim/vim73/macros/ "$*"

Add the lines above to your ~/.zshrc/~/.bashrc and you’ll get two features:

  • one-character function name significantly speeds up typing (instead of less), and

  • syntax highlighting powered by vim (you need to have it installed, obviously).

The original idea is posted here: It was tested in bash and used - as the name, but my zsh produced the following error: cd:cd:10: string not in pwd: -. Turned out zsh (or enabled this feature when - was acting as cd - (that is, jumping to previous directory). Thus, the function name = works better here.