Moving to homesick

This commit is contained in:
2013-08-20 23:52:37 -04:00
parent f34d4ef24d
commit 6ebda25526
19 changed files with 0 additions and 0 deletions

2
home/.drush/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*aliases.drushrc.php
cache

1
home/.gemrc Normal file
View File

@ -0,0 +1 @@
gem: --no-ri --no-rdoc

14
home/.gitconfig Normal file
View File

@ -0,0 +1,14 @@
[user]
name = James Walker
email = walkah@walkah.net
[color]
diff = auto
status = auto
branch = auto
ui = auto
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
st = status -s
smu = submodule update --init --recursive
[github]
user = walkah

1
home/.psqlrc Normal file
View File

@ -0,0 +1 @@
\x auto

15
home/.screenrc Normal file
View File

@ -0,0 +1,15 @@
# walkah's screenrc
#
# $Id: .screenrc,v 1.8 2007-03-30 02:31:27 walkah Exp $
# no startup message
startup_message off
# i like the caption at the bottom, so i know what screen i'm on
caption always "%w %-= %m/%d/%y %C%a"
# i use ctrl-a waay too much in emacs/readline remap to ctrl-o
escape ^Oo
hardstatus off
hardstatus string "%H:%t [%n]"

4
home/.ssh/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
environment*
id_dsa
known_hosts
*.pem

View File

@ -0,0 +1 @@
ssh-dss AAAAB3NzaC1kc3MAAAEBALy0MrqtcYwlfx5Z1zfCriZFC/cj/2k++mmqzOCYU+bxD23k36qQ6a734vM6WtX8cCcx/5MoA4ffWA8Has7Z4jh5f3HQ4exEi3dOjW2yuKPPX6vs5DTyTdGvMlb+ouJVxiB+DGuN+MkJnTNCxvyK4hRaigfmFpiDjJs15r3IGol58BmQBvsYLaGfNaJeq5CzQVyVuXSFbzwU4VyQtuKSKbniPE8KnirYaa2WgOuIA5CKNhj0hyKMz3WCbSFqPS218FWKe878Mks4hSV1XGYKrMmI7/5Pk+qMvXqSjgZ8P6HJHuaw/8jIDeR95mzFOUggyh+ah6GW4nwsPvh/X9BdHKkAAAAVAL+7OROhd3C4yQsal1LqbWiN2MbrAAABACfPBzZJ6g3znxF3zrYIzL3Xg49nhBK417Rlu0SFhlx6FEXIaLU18mWRAQ8Rx3I4xmEl3Ob1AxosaRuBne8saeCIDxVNGhnEeST0VAocMCLoD2abQCHBaY3MyWh4SnQvvR9H4zLrEktQj5+bz14TOk3gbm97Y2QbujUgrv5taxrpgg7PMnRc/wdKbgKMBfZfuwCsBtFeCekWpAHZsPyPHOmsHPNmjqikw0nN9tvgWEI1cvAB6iOg1ImMXGf8AvtsPuTsWtNU9CyqIxirjab+2RoNzYg9bksgf0Go+52DPCQj4q2SsioCvR8x+YXT7E/7rWGpHBZfYz16rwtV3PCf8cIAAAEAIeMwd46FabZeQeIieMhY2pO6xMovm2fJQ8Vs2kqk2tUmt4S0jKUszbogvy6Qxo5Jh9fMyQug+BEEArjci9Sv8MdcGZCh8KIwETel8I8wTYLU35xls0X9kd6BIfW6vYDyvwJ4+HAbXGLXWUL3uQVPwpFbom2Qsvj+Zne3hpoJCuxeI+Qv3fjMaYpRjYyqKI1S2HouaDR46Ib7syJZxe8AqR52U//rprBp82QS7lwYu312ykN7z4JI0NcuDjO2U2NWQ7wgpKwFzhE8XXMK0lbH+572BOeu8kyRrr8tmaaRNC3FmLhvNyohRaCp2R07eQbQ7sKRNt+JniC8J/xxdATUHA== walkah

10
home/.ssh/config Normal file
View File

@ -0,0 +1,10 @@
GatewayPorts yes
HashKnownHosts no
Host *
ForwardAgent yes
Host irc.walkah.net
Hostname irc.walkah.net
LocalCommand ~/bin/ircnotify.sh
PermitLocalCommand yes

1
home/.ssh/id_dsa.pub Normal file
View File

@ -0,0 +1 @@
ssh-dss AAAAB3NzaC1kc3MAAAEBALy0MrqtcYwlfx5Z1zfCriZFC/cj/2k++mmqzOCYU+bxD23k36qQ6a734vM6WtX8cCcx/5MoA4ffWA8Has7Z4jh5f3HQ4exEi3dOjW2yuKPPX6vs5DTyTdGvMlb+ouJVxiB+DGuN+MkJnTNCxvyK4hRaigfmFpiDjJs15r3IGol58BmQBvsYLaGfNaJeq5CzQVyVuXSFbzwU4VyQtuKSKbniPE8KnirYaa2WgOuIA5CKNhj0hyKMz3WCbSFqPS218FWKe878Mks4hSV1XGYKrMmI7/5Pk+qMvXqSjgZ8P6HJHuaw/8jIDeR95mzFOUggyh+ah6GW4nwsPvh/X9BdHKkAAAAVAL+7OROhd3C4yQsal1LqbWiN2MbrAAABACfPBzZJ6g3znxF3zrYIzL3Xg49nhBK417Rlu0SFhlx6FEXIaLU18mWRAQ8Rx3I4xmEl3Ob1AxosaRuBne8saeCIDxVNGhnEeST0VAocMCLoD2abQCHBaY3MyWh4SnQvvR9H4zLrEktQj5+bz14TOk3gbm97Y2QbujUgrv5taxrpgg7PMnRc/wdKbgKMBfZfuwCsBtFeCekWpAHZsPyPHOmsHPNmjqikw0nN9tvgWEI1cvAB6iOg1ImMXGf8AvtsPuTsWtNU9CyqIxirjab+2RoNzYg9bksgf0Go+52DPCQj4q2SsioCvR8x+YXT7E/7rWGpHBZfYz16rwtV3PCf8cIAAAEAIeMwd46FabZeQeIieMhY2pO6xMovm2fJQ8Vs2kqk2tUmt4S0jKUszbogvy6Qxo5Jh9fMyQug+BEEArjci9Sv8MdcGZCh8KIwETel8I8wTYLU35xls0X9kd6BIfW6vYDyvwJ4+HAbXGLXWUL3uQVPwpFbom2Qsvj+Zne3hpoJCuxeI+Qv3fjMaYpRjYyqKI1S2HouaDR46Ib7syJZxe8AqR52U//rprBp82QS7lwYu312ykN7z4JI0NcuDjO2U2NWQ7wgpKwFzhE8XXMK0lbH+572BOeu8kyRrr8tmaaRNC3FmLhvNyohRaCp2R07eQbQ7sKRNt+JniC8J/xxdATUHA== walkah

10
home/.tmux.conf Normal file
View File

@ -0,0 +1,10 @@
unbind C-b
set -g prefix C-o
set -g set-titles on
set -g set-titles-string "#h: #W [#I]"
set-option -g status-left-length 60
set -g status-bg black
set -g status-fg white

View File

@ -0,0 +1,6 @@
#compdef drush
#autoload
local -a drush_commands
drush_commands=($(drush --early=includes/complete.inc $words[*] ))
_describe -t commands 'drush commands' drush_commands

View File

@ -0,0 +1,36 @@
#compdef tmuxinator
#autoload
local curcontext="$curcontext" state line ret=1
local -a _configs
_arguments -C \
'1: :->cmds' \
'2:: :->args' && ret=0
case $state in
cmds)
_values "tmuxinator command" \
"start[start a tmux session using project's tmuxinator config]" \
"open[create a new project file and open it in your editor]" \
"copy[copy source_project project file to a new project called new_project]" \
"delete[deletes the project called project_name]" \
"implode[deletes all existing projects!]" \
"list[list all existing projects]" \
"doctor[look for problems in your configuration]" \
"help[shows this help document]" \
"version[shows tmuxinator version number]"
ret=0
;;
args)
case $line[1] in
start|open|copy|delete)
_configs=(`tmuxinator list | awk "NR==2"`)
_values 'configs' $_configs
ret=0
;;
esac
;;
esac
return ret

View File

@ -0,0 +1 @@
compdef mux=tmuxinator

View File

@ -0,0 +1 @@
# oh-my-zsh complains without a .zsh file in here

View File

@ -0,0 +1,15 @@
# walkah ZSH Theme
if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%c \
$(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='${return_code}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}±%{$fg[yellow]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}"

15
home/.zshenv Normal file
View File

@ -0,0 +1,15 @@
# ignore system zsh
IGNORE_SYSTEM_ZSH=1
# unique path... and put my stuff first
typeset -U path
path=(~/bin ~/local/bin ~/local/sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/X11R6/bin /bin /usr/sbin /sbin /usr/games)
### environment
export PAGER=less
export RSYNC_RSH=ssh
export CVS_RSH=ssh
#export CVSROOT=/home/cvs
[ -f $HOME/.environment ] && . $HOME/.environment

50
home/.zshrc Normal file
View File

@ -0,0 +1,50 @@
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="walkah"
# My custom directory
export ZSH_CUSTOM=$HOME/.zsh/custom
# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(extract tmux tmuxinator git github git-flow svn ruby gem rails3 bundler heroku pip django fabric osx brew deb ssh-agent npm drush composer symfony2 vagrant knife)
# Python/ virtualenv
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
export WORKON_HOME=$HOME/.virtualenvs
plugins=($plugins virtualenvwrapper)
fi
# OH MY ZSH!
source $ZSH/oh-my-zsh.sh
# Node / nvm
if [ -f "$HOME/.nvm/nvm.sh" ]; then
source "$HOME/.nvm/nvm.sh"
fi
# phpbrew
if [ -f "$HOME/.phpbrew/bashrc" ]; then
source "$HOME/.phpbrew/bashrc"
fi
# rbenv
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
if [ $TERM = "screen" ]; then
export DISABLE_AUTO_TITLE="true"
fi
export EDITOR="vim"
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"

21
home/bin/ircnotify.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/zsh
notify()
{
heading=$1
message=$2
if [ `uname` = "Darwin" ]; then
growlnotify -t ${heading} -m ${message}
else
notify-send ${heading} ${message}
fi
}
# Avoid spawning script twice.
ps aux | grep ircnotify.sh | grep -v grep | grep -v $$ && exit
(ssh irc.walkah.net -o PermitLocalCommand=no \
": > .irssi/fnotify ; tail -f .irssi/fnotify " | \
while read heading message; do \
notify "${heading}" "${message}"; \
done)&

3
home/bin/pychecker.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/zsh
pyflakes $1
pep8 --repeat $1