Skip to content
Browse files

Stuff

  • Loading branch information...
1 parent 723983b commit 476a98e9d652cb7cfaa2d5494531f4cf8f408c17 @dflems committed Feb 5, 2013
Showing with 21 additions and 15 deletions.
  1. +3 −0 bin/zombiecount
  2. +3 −6 git/aliases.zsh
  3. +7 −8 git/completion.zsh
  4. +4 −0 sublime2/User/Preferences.sublime-settings
  5. +3 −0 system/path.zsh
  6. +1 −1 zsh/config.zsh
View
3 bin/zombiecount
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ps -el | grep 'Z' | wc -l | awk {'print $1'}
View
9 git/aliases.zsh
@@ -1,9 +1,6 @@
-# Use `hub` as our git wrapper:
-# http://defunkt.github.com/hub/
-hub_path=$(which hub)
-if (( $+commands[hub] ))
-then
- alias git=$hub_path
+# Use `hub` as our git wrapper: http://defunkt.github.com/hub/
+if (( $+commands[hub] )) then
+ alias git=hub
fi
# The rest of my fun git aliases
View
15 git/completion.zsh
@@ -1,9 +1,8 @@
-# Uses git's autocompletion for inner commands. Assumes an install of git's
-# bash `git-completion` script at $completion below (this is where Homebrew
-# tosses it, at least).
-# completion=/usr/local/etc/bash_completion.d/git-completion.bash
+# Using the ZSH-default git completion instead of /usr/local/share/zsh/site-functions/_git
+# Git's built-in completion script gets all the aliases properly, but isn't verbose.
-# if test -f $completion
-# then
-# ZSH_VERSION='' source $completion
-# fi
+# Because we aliased git -> hub
+if (( $+commands[hub] )) then
+ compdef hub=git
+ . /usr/local/share/zsh/site-functions/_hub
+fi
View
4 sublime2/User/Preferences.sublime-settings
@@ -1,5 +1,9 @@
{
"color_scheme": "Packages/Tomorrow/Tomorrow-Night.tmTheme",
"font_size": 12.0,
+ "ignored_packages":
+ [
+ "Vintage"
+ ],
"theme": "Soda Dark.sublime-theme"
}
View
3 system/path.zsh
@@ -11,5 +11,8 @@ export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
# dotfiles bin
export PATH="$ZSH/bin:$ZSH/git/bin:$PATH"
+# local bin priority
+export PATH="./bin:$PATH"
+
# manpages
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
View
2 zsh/config.zsh
@@ -29,7 +29,7 @@ setopt HIST_REDUCE_BLANKS
# don't expand aliases _before_ completion has finished
# like: git comm-[tab]
-setopt complete_aliases
+#setopt complete_aliases
zle -N newtab

0 comments on commit 476a98e

Please sign in to comment.
Something went wrong with that request. Please try again.