[+] Add time to prompt
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ PS1='\n\[\e[m\][\[\e[35m\]\D{%y-%m-%d} \t\[\e[m\]] [\[\e[34m\]\h\[\e[m\]] [\[\e[
|
|||||||
|
|
||||||
# ZSH
|
# ZSH
|
||||||
LINE=$'\n'
|
LINE=$'\n'
|
||||||
PROMPT="${LINE}%F{reset}[%F{magenta}%D%F{reset}] [%F{blue}%m%F{reset}] [%F{yellow}%n%F{reset}] %F{white}%~${LINE}$ "
|
PROMPT="${LINE}%F{reset}[%F{magenta}%D %*%F{reset}] [%F{blue}%m%F{reset}] [%F{yellow}%n%F{reset}] %F{white}%~${LINE}$ "
|
||||||
|
|
||||||
# 登录提示
|
# 登录提示
|
||||||
aiaigasa
|
aiaigasa
|
||||||
|
|||||||
Reference in New Issue
Block a user