scatterd-dotfiles/zsh/completion
Mike Burns 31b6ad4f3f Split zsh configuration into smaller files
This allows people to incorporate the thoughtbot dotfiles into their own
dotfiles in a more fine-grained manner.

I left some things in zshrc that we should eventually handle more
precisely:

- Load `.zsh/functions/*`. This could instead be replaced with: `mv
  .zsh/functions/* .zsh/configs`.
- Load `.aliases`. This could instead be replaced with: `mv .aliases
  .zsh/configs/aliases.zsh`.
- Load `.zshrc.local`. This file can realistically go away entirely,
  with people adding their own files to `.zsh/configs`.

A further refactoring, which I have done locally, is to introduce a
`~/.sh/configs` directory, in which people can put POSIX-specific
configuration that can be shared between GNU Bash, zsh, ksh, etc:
aliases, functions, paths, prompts, and so on. But one step at a time.

Other changes:
* Move aliases setup to occur after loading other config, as some of our
  aliases depend on environment variables having been set, so alias
  loading must come last after we've sourced `zsh/configs`.

* Move autocompletion for `g` function from the function definition to
  to `zsh/completions/_g`

* Move `PATH` setup to `zsh/configs/post` to ensure it happens after
  other configuration that might alter the `PATH`
2015-11-06 15:03:05 -05:00
..
_ag Improve ag tab completion 2014-08-06 15:51:18 -04:00
_bundler Update Bundler completion to include newer subcommands, fix help 2015-10-30 15:11:19 -04:00
_g Split zsh configuration into smaller files 2015-11-06 15:03:05 -05:00
_production Complete parity commands like heroku 2014-01-23 18:35:34 -05:00
_rspec Bring more shell syntax into shellcheck compliance 2015-10-30 12:50:02 -04:00
_staging Complete parity commands like heroku 2014-01-23 18:35:34 -05:00