Skip to content

bobsoppe/zsh-snooch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snooch

It will snooch right into your terminal prompt

Install

  1. Either…
  • Clone this repo
  • add it as a submodule, or
  • just download snooch.zsh
  1. Symlink snooch.zsh to somewhere in $fpath with the name prompt_snooch_setup.

Example

$ 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"

Getting started

Initialize the prompt system (if not so already) and choose snooch:

# .zshrc
autoload -U promptinit; promptinit
prompt snooch

Tips

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.

Integration

  1. Symlink (or copy) snooch.zsh to ~/.oh-my-zsh/custom/snooch.zsh-theme.
  2. Set ZSH_THEME="snooch" in your .zshrc file.

Or skip the oh-my-zsh integration above and simply:

  1. Set ZSH_THEME="" in your .zshrc to disable oh-my-zsh themes.
  2. 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

Releases

No releases published

Packages

No packages published

Languages