mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Add a newline before prompts
This commit is contained in:
parent
d66cae317f
commit
490a46f1d0
@ -23,6 +23,9 @@ function fish_prompt
|
||||
|
||||
# output the prompt, left to right
|
||||
|
||||
# Add a newline before prompts
|
||||
echo -e ""
|
||||
|
||||
# Display [venvname] if in a virtualenv
|
||||
if set -q VIRTUAL_ENV
|
||||
echo -n -s (set_color -b cyan black) '[' (basename "$VIRTUAL_ENV") ']' $normal ' '
|
||||
|
Loading…
Reference in New Issue
Block a user