It will snooch right into your terminal prompt
- Either…
- Clone this repo
- add it as a submodule, or
- just download
snooch.zsh
- Symlink
snooch.zsh
to somewhere in$fpath
with the nameprompt_snooch_setup
.
$ ln -s "$PWD/snooch.zsh" /usr/local/share/zsh/site-functions/prompt_snooch_setup
Run echo $fpath
to see possible locations.
For a user-specific installation (which would not require escalated privileges), simply add a directory to $fpath
for that user:
# .zshenv or .zshrc
fpath=( "$HOME/.zfunctions" $fpath )
Then install the theme there:
$ ln -s "$PWD/snooch.zsh" "$HOME/.zfunctions/prompt_snooch_setup"
Initialize the prompt system (if not so already) and choose snooch
:
# .zshrc
autoload -U promptinit; promptinit
prompt snooch
In the screenshot you see Snooch running in Hyper with the hyper-oceans16 theme and Hasklig font.
To have commands colorized as seen in the screenshot, install zsh-syntax-highlighting.
- Symlink (or copy)
snooch.zsh
to~/.oh-my-zsh/custom/snooch.zsh-theme
. - Set
ZSH_THEME="snooch"
in your.zshrc
file.
Or skip the oh-my-zsh
integration above and simply:
- Set
ZSH_THEME=""
in your.zshrc
to disable oh-my-zsh themes. - Follow the Snooch Install instructions.
Update your .zshrc
file with the following line:
antigen bundle bobsoppe/zsh-snooch
Update your .zshrc
file with the following line:
antibody bundle bobsoppe/zsh-snooch
Update your .zshrc
file with the following line:
zplug bobsoppe/zsh-snooch, use:snooch.zsh, from:github, as:theme