mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
best color
This commit is contained in:
parent
9cbcda0a30
commit
71190a8a1b
1 changed files with 3 additions and 3 deletions
|
|
@ -31,11 +31,11 @@ function mygit() {
|
||||||
|
|
||||||
COLOR_ROOT="%{$fg_bold[green]%}"
|
COLOR_ROOT="%{$fg_bold[green]%}"
|
||||||
|
|
||||||
function getruta() {echo "%{$fg_bold[grey]%}[%~]%{$reset_color%}"}
|
function getruta() {echo "%{$fg[cyan]%}[%~]%{$reset_color%}"}
|
||||||
function getrutalength() {echo "[%{$fg_bold[grey]%}%30>...>%~%>>]%{$reset_color%}"}
|
function getrutalength() {echo "[%{$fg_bold[grey]%}%30>...>%~%>>]%{$reset_color%}"}
|
||||||
function getusername(){echo "%{$fg[green]%}%n%b%{$fg[cyan]%}@%{$fg[magenta]%}%m%{$reset_color%}"}
|
function getusername(){echo "%{$fg[green]%}%n%b%{$fg[yellow]%}@%{$fg[magenta]%}%m%{$reset_color%}"}
|
||||||
function gettime(){echo "%b%{$fg[yellow]%}%D{"%I:%M:%S"}%b%{$reset_color%}"}
|
function gettime(){echo "%b%{$fg[yellow]%}%D{"%I:%M:%S"}%b%{$reset_color%}"}
|
||||||
function dirpwd() {echo "%{$fg_bold[blue]%}%1~%{$reset_color%}"}
|
function dirpwd() {echo "%{$fg_bold[cyan]%}%1~%{$reset_color%}"}
|
||||||
# alternate prompt with git & hg
|
# alternate prompt with git & hg
|
||||||
PROMPT=$'
|
PROMPT=$'
|
||||||
$COLOR_ROOT┌─< $(dirpwd) $(getruta)
|
$COLOR_ROOT┌─< $(dirpwd) $(getruta)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue