Skip to content
My way-overdone zsh config scripts
Shell
Latest commit 9583f61 Feb 14, 2016 @mattfoster Switch to shelling out to hostname
%m keep getting polluted with command fragments and making my titles
crazy.
Failed to load latest commit information.
disabled
func
.gitignore Ignore vim swap files. Dec 29, 2010
01_path
03_help
03_zkbd
04_tmux
05_apt
05_editor
05_grep
05_ls
05_network
05_octave
05_rsync
05_vpn
06_dirs
06_finding
06_git
06_history
06_less
06_man
06_rbenv
07_completion
10_bindkey
10_chrome
10_dash
10_hooks
10_prompt
README.md
default_zkbd
env
install
rc

README.md

Matt Foster's zshkit fork

An easily extensible collection of stuff for zsh.

Prompt info

I've included my prompt, 'Minimal VCS. As the name suggests this is a minimal prompt with VCS information via vcs_info. For this to work, you'll need a version zsh > 4.3.6 (IIRC).

See func/minimal_vcs_setup for details, or run:

autoload promptinit && promptinit
prompt -h minimal_vcs

Proper functioning requires the 10_hooks to be loaded too, since vcs_info must be run to update the prompt. It's also so minimal that you'll probably want useful the useful information included in the title function.

Current issues:

  • I haven't found a way to easily show when the repo is dirty.
  • I keep seeing bits and bobs alluding to a 'new prompt colour' syntax, but I can't find any docs.
Something went wrong with that request. Please try again.