🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
13
node_modules/shiki/samples/fish.sample
generated
vendored
Normal file
13
node_modules/shiki/samples/fish.sample
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
function fish_prompt
|
||||
# A simple prompt. Displays the current directory
|
||||
# (which fish stores in the $PWD variable)
|
||||
# and then a user symbol - a '►' for a normal user and a '#' for root.
|
||||
set -l user_char '►'
|
||||
if fish_is_root_user
|
||||
set user_char '#'
|
||||
end
|
||||
|
||||
echo (set_color yellow)$PWD (set_color purple)$user_char
|
||||
end
|
||||
|
||||
# From https://fishshell.com/docs/current/language.html#functions
|
||||
Loading…
Add table
Add a link
Reference in a new issue