Msh (My Shell) is a heavily customised shell built on top of zsh.
- Make sure zsh is installed. (If you want msh to work on top of other shells, you can give it a try - msh is mostly POSIX compliant - if anything doesn't work feel free to submit a pull request.)
- Clone the repository to ~/msh. We strongly recommend you to fork this repository and clone your own fork, instead of cloning my repository, as the core value of Msh is to encourage community contribution.
mkdir ~/msh && cd ~/msh && git clone git@github.com:your-username/msh-core.git - Source msh-core in your .shrc.
echo ". ~/msh/msh-core/core.msh" > ~/.zshrc - Msh works best within tmux. So install tmux.
- We also recommend you to get the recommended dot files for a better experience. Clone https://github.com/haoyangnz/msh-dotfiles.git and link the dot files to your home directory. Please do not add this in the msh folder. msh directory should only contain msh modules.
- We recommend running Msh with the "Anonymous Pro" font. Download the font from http://www.marksimonson.com/fonts/view/anonymous-pro put it into your font library. In many linux distros, you can put it in
~/.fonts. Step 7 talks about using the font in your terminal emulator. - Tweak your terminal emulator: If you are using linux, it's best to run Msh with urxvt (rxvt-unicode), so install that. The msh dotfiles in step 5 would have included .Xresources which will configure the look and feel of urxvt. Please run
xrdb -merge ~/.Xresourcesto load the Xresources file. If you are using Mac OS X, Terminal.app is pretty good, we recommend you configure the colour scheme to Solarized Light (see http://ethanschoonover.com/solarized), and use the Anonymous Pro font from step 6.
Assuming you've done all the steps above:
- Open your tweaked terminal emulator.
- Run
zshto launch zsh, with msh configured on top. - Run
stdto launch tmux with the "standard" session configurations. - Start using Msh!
Assuming you've done all the steps above:
- Ctrl-Alt-H, Ctrl-Alt-J, Ctrl-Alt-K, Ctrl-Alt-L: Toggles between four standard tmux sessions.
- Ctrl-Alt-Q, Ctrl-Alt-W, Ctrl-Alt-E, Ctrl-Alt-R, Ctrl-Alt-T, Ctrl-Alt-Y, Ctrl-Alt-U, Ctrl-Alt-I, Ctrl-Alt-O, Ctrl-Alt-P: Toggles between tmux tabs.
Install any Msh plugins that you need, by first forking the repository such as https://github.com/haoyangnz/msh-kiwiplan, if you want the Msh Kiwiplan plugin, then use the mi command, such as mi your-username kiwiplan.