Blog of GangMax

自由之思想,独立之精神

The Current Theme of ‘Oh-my-zsh’

| Comments

In “on-my-zsh”, you can set “ZSH_THEME=”random”” in the “.zshrc” file. By doing so, the theme of the terminal will be changed each time when you open a terminal window.

One question is that, how to know what the current theme is? The answer is from here.

Use Autojump

| Comments

autojump” is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line.

Zsh Works With Octopress

| Comments

If I disable the “rake” plugin of “zsh” in “~/.zshrc” file by modifying the following line:

1
2
# Remove the "rake" item from the following line.
plugins=(git github lein mvn pip pyenv python ruby rake rvm tmux tmuxinator)

I will get the following error:

1
2
$ rake new_post['Test']
zsh: no matches found: new_post[Test]

So the “rake” plugin cannot be removed if you want the rake command works for Octopress under zsh.

Html to Epub

| Comments

To covert an HTML page to epub file, I tried some online website but none of them does it well. Finally I use Calibre to do it. Refer here.