added personal aliases

padrino aliases as a plugin

ocodo and squee zsh-prompts (osx specific)
This commit is contained in:
jasonm23 2012-06-03 18:41:44 +10:00
commit 7a99688047
4 changed files with 28 additions and 3 deletions

View file

@ -16,9 +16,8 @@ alias history='fc -l 1'
# List direcory contents # List direcory contents
alias lsa='ls -lah' alias lsa='ls -lah'
alias l='ls -la' alias l='ls -1a'
alias ll='ls -l' alias ll='ls -halF'
alias sl=ls # often screw this up
alias afind='ack-grep -il' alias afind='ack-grep -il'

8
lib/padrino.zsh Normal file
View file

@ -0,0 +1,8 @@
alias padpg='padrino g admin_page'
alias par='padrino rake ar:migrate'
alias pcon='padrino console'
alias pdaem='padrino start -d'
alias pg='padrino gen'
alias pprod='padrino stop; padrino start -de production'
alias pstart='padrino start'
alias pstop='padrino stop'

9
themes/ocodo.zsh-theme Normal file
View file

@ -0,0 +1,9 @@
LHOST=$(scutil --get LocalHostName)
PROMPT='$FG[030][$FG[079]%n@$LHOST$FG[030]][$FG[043]%t$FG[030] $(git_prompt_info)$FG[116]$(rvm_prompt_info)$FG[030]]$reset_color
$FG[030][$FG[079]%~$FG[030]]$reset_color
$ '
# git theming
ZSH_THEME_GIT_PROMPT_PREFIX="$fg_bold[red]($fg_bold[white]"
ZSH_THEME_GIT_PROMPT_SUFFIX="$fg_bold[red])"
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="$fg_bold[cyan]*"

9
themes/squee.zsh-theme Normal file
View file

@ -0,0 +1,9 @@
LHOST=$(scutil --get LocalHostName)
PROMPT='$fg_bold[magenta][$fg[white]%t$fg_bold[magenta]]$fg_bold[magenta] [$fg[white]%n@$LHOST$fg_bold[magenta]]
[$fg[white]%~$(git_prompt_info)$fg[white]$(rvm_prompt_info)$fg_bold[magenta]]$reset_color
$ '
# git theming
ZSH_THEME_GIT_PROMPT_PREFIX=" $fg_bold[red]($fg_bold[white]"
ZSH_THEME_GIT_PROMPT_SUFFIX="$fg_bold[red])"
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="$fg_bold[cyan]*"