Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dflems committed Feb 5, 2013
1 parent 723983b commit 476a98e
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
3 changes: 3 additions & 0 deletions bin/zombiecount
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

ps -el | grep 'Z' | wc -l | awk {'print $1'}
9 changes: 3 additions & 6 deletions git/aliases.zsh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions git/completion.zsh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions sublime2/User/Preferences.sublime-settings
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"color_scheme": "Packages/Tomorrow/Tomorrow-Night.tmTheme",
"font_size": 12.0,
"ignored_packages":
[
"Vintage"
],
"theme": "Soda Dark.sublime-theme"
}
3 changes: 3 additions & 0 deletions system/path.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion zsh/config.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 476a98e

Please sign in to comment.