mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-17 07:56:11 +01:00
funny fish
This commit is contained in:
6
.config/fish/functions/_pure_prompt_system_time.fish
Normal file
6
.config/fish/functions/_pure_prompt_system_time.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
function _pure_prompt_system_time --description "Display system time"
|
||||
if set --query pure_show_system_time; and test "$pure_show_system_time" = true
|
||||
set --local time_color (_pure_set_color $pure_color_system_time)
|
||||
echo "$time_color"(date '+%T')
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user