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 Attempting to speed things up a bit. May 2, 2012
func These colours work fine on CentOS 5's zsh (4.2.6) Mar 31, 2014
.gitignore Ignore vim swap files. Dec 29, 2010
01_path Only use GREP_OPTIONS when it's not deprecated Apr 26, 2015
03_help Update help directory selection. Jan 17, 2011
03_zkbd Attempting to speed things up a bit. May 2, 2012
04_tmux Ensure tmux is started in 256 colour mode with unicode Apr 12, 2014
05_apt removed silly alias Nov 10, 2008
05_editor Attempting to speed things up a bit. May 2, 2012
05_grep Only use GREP_OPTIONS when it's not deprecated Apr 26, 2015
05_ls Add some aliases to frequently used ls args Feb 22, 2015
05_network Switch the order of DNS resolution/IP check May 7, 2015
05_octave added octave aliases Nov 7, 2008
05_rsync Add common rsync command alias Jan 22, 2009
05_vpn Fix path to ~/Applications Apr 16, 2014
06_dirs ruby and pushd/popd aliases Jul 3, 2008
06_finding added mdhere function, moved mdloc Aug 26, 2008
06_git Adding support back for zsh < 4.3.6 Feb 1, 2009
06_history Make the h command behave more like humanism's Feb 21, 2015
06_less Use new is-mac-terminal function to decide on colour use. Nov 20, 2010
06_man Stupid manpage formatting tricks Oct 7, 2008
06_rbenv Check rbenv is available. Nov 12, 2011
07_completion moved completion function. Feb 3, 2009
10_bindkey Attempting to speed things up a bit. May 2, 2012
10_chrome osascript to open a new chrome window + url Apr 16, 2014
10_dash Add functions supporting Dash Apr 26, 2015
10_hooks Switch to shelling out to hostname Feb 14, 2016
10_prompt Renamed prompt to minimal_vcs Feb 1, 2009
README.md Updated README with more info on my prompt. Jan 9, 2011
default_zkbd My zkbd goes up to 11 (actually 12) Sep 2, 2008
env fixed weird shlvl problem. Nov 21, 2008
install Stop never-ending symlink creation when install is run Apr 26, 2015
rc Remove cheat stuff Apr 26, 2015

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.