mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
added personal aliases
padrino aliases as a plugin ocodo and squee zsh-prompts (osx specific)
This commit is contained in:
parent
caa15548c1
commit
7a99688047
4 changed files with 28 additions and 3 deletions
|
|
@ -16,9 +16,8 @@ alias history='fc -l 1'
|
|||
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
alias l='ls -la'
|
||||
alias ll='ls -l'
|
||||
alias sl=ls # often screw this up
|
||||
alias l='ls -1a'
|
||||
alias ll='ls -halF'
|
||||
|
||||
alias afind='ack-grep -il'
|
||||
|
||||
|
|
|
|||
8
lib/padrino.zsh
Normal file
8
lib/padrino.zsh
Normal 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
9
themes/ocodo.zsh-theme
Normal 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
9
themes/squee.zsh-theme
Normal 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]*"
|
||||
Loading…
Add table
Add a link
Reference in a new issue