Skip to content

Commit

Permalink
update dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
tclem committed May 24, 2011
1 parent c2da0f9 commit 228da48
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 5 deletions.
8 changes: 8 additions & 0 deletions bin/door-me
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
verb="buzz"
if [ $1 ]
then
verb=$1
fi
curl "http://github.dyndns.biz:9998/$verb?token=EtyKZxq9KuBC4prFayAtgXC" -i

2 changes: 1 addition & 1 deletion bin/server-reload
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
ps aux | grep nginx | awk '{print }' | xargs sudo kill -9
ps aux | grep nginx | awk '{print $2}' | xargs sudo kill -9
sudo nginx
script/unicorn_dev
2 changes: 2 additions & 0 deletions ruby/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ alias sc='script/console'
alias ss='script/server -p `available_rails_port`'
alias sg='script/generate'
alias sd='script/destroy'
alias st='script/test_server'
alias str='script/test_runner'

alias migrate='rake db:migrate db:test:clone'

Expand Down
4 changes: 2 additions & 2 deletions ruby/irbrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Object
def local_methods(obj = self)
(obj.methods - obj.class.superclass.instance_methods).sort
end

# print documentation
#
# ri 'Array#pop'
Expand All @@ -32,7 +32,7 @@ class Object
end

def me
User.find_by_login('holman')
User.find_by_login('tclem')
end

def r
Expand Down
4 changes: 3 additions & 1 deletion zsh/completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ zstyle ':completion:*' insert-tab pending

# tab completion colors
zstyle ':completion:*' list-colors ''
#zstyle ':completion:*' list-colors ${(s.:.)LSCOLORS}
# zstyle ':completion:*' list-colors ${(s.:.)LSCOLORS}
# zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
# zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
5 changes: 4 additions & 1 deletion zsh/config.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ else
export PS1='%3~$(git_info_for_prompt)%# '
fi

export LSCOLORS="exfxcxdxbxegedabagacad"
# export TERM='xterm-color'
# export LSCOLORS='cat ~/.dir_colors'
# export LSCOLORS="exfxcxdxbxegedabagacad"
export CLICOLOR=true
# export ZLSCOLORS="${LS_COLORS}"

fpath=($ZSH/zsh/functions $fpath)

Expand Down
7 changes: 7 additions & 0 deletions zsh/zshrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ fi
# initialize autocomplete here, otherwise functions won't be loaded
autoload -U compinit
compinit

setopt autolist

autoload -U edit-command-line
zle -N edit-command-line
bindkey '^Xe' edit-command-line
# bindkey -M vicmd v edit-command-line

0 comments on commit 228da48

Please sign in to comment.