Last active
July 28, 2023 08:25
-
-
Save tiiime/326e6941483faab5c73cb3ca08f873a9 to your computer and use it in GitHub Desktop.
on-my-zsh ys theme like fish prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fish_prompt -d "Write out the prompt" | |
printf '%s %s @ %s in %s [%s] \n%s ' (set_color blue)(echo \#) (set_color cyan)$USER(set_color normal) (set_color green)$hostname(set_color normal) \ | |
(set_color yellow)(prompt_pwd)(set_color normal) \ | |
(echo -n (date +%H:%M:%S)) \ | |
(set_color red)(echo \$)(set_color normal) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment