mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +00:00
Reworked command_execution_time segment
- Add a visual identifier - Fix a bug that the time was not reset - Make calculation independent of segment (thx @rjorgenson)
This commit is contained in:
@@ -79,6 +79,7 @@ case $POWERLEVEL9K_MODE in
|
||||
SWIFT_ICON ''
|
||||
PUBLIC_IP_ICON ''
|
||||
LOCK_ICON $'\UE138' #
|
||||
EXECUTION_TIME_ICON $'\UE89C' #
|
||||
)
|
||||
;;
|
||||
'awesome-fontconfig')
|
||||
@@ -140,6 +141,7 @@ case $POWERLEVEL9K_MODE in
|
||||
SWIFT_ICON ''
|
||||
PUBLIC_IP_ICON ''
|
||||
LOCK_ICON $'\UE138' #
|
||||
EXECUTION_TIME_ICON $'\uF253'
|
||||
)
|
||||
;;
|
||||
*)
|
||||
@@ -201,6 +203,7 @@ case $POWERLEVEL9K_MODE in
|
||||
SWIFT_ICON 'Swift'
|
||||
PUBLIC_IP_ICON ''
|
||||
LOCK_ICON $'\UE0A2'
|
||||
EXECUTION_TIME_ICON 'Dur'
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user