more prompt
This commit is contained in:
@@ -45,7 +45,7 @@ function prompt_abra_setup {
|
||||
'rprompt' '%A%B%S%a%d%m%r%U%u'
|
||||
|
||||
|
||||
PROMPT='%F{cyan}%c%f${git_info:+${(e)git_info[prompt]}}%(!. %B%F{red}#%f%b.)${editor_info[keymap]} '
|
||||
PROMPT='%F{cyan}%3~%f${git_info:+${(e)git_info[prompt]}}%(!. %B%F{red}#%f%b.)${editor_info[keymap]} '
|
||||
RPROMPT='%(?::%F{red}%?%f )%B%F{green}%n@%2m%f%b${git_info[rprompt]} %F{blue}%*%f'
|
||||
}
|
||||
|
||||
|
@@ -84,6 +84,10 @@ alias afs="unmount-abra0; mount-abra0;"
|
||||
alias .g='git --git-dir=$HOME/.dotgit/ --work-tree=$HOME'
|
||||
alias .sg='git --git-dir=/var/www/git.abra.me/dot.git --work-tree=$HOME'
|
||||
|
||||
function .g-register() {
|
||||
.g remote add origin ssh://dedi/var/www/git.abra.me/dot.git
|
||||
}
|
||||
|
||||
function twitch() {
|
||||
livestreamer "http://www.twitch.tv/$1" source &!
|
||||
}
|
||||
|
Reference in New Issue
Block a user