mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-24 13:51:43 +08:00
5 lines
201 B
Fish
5 lines
201 B
Fish
# name: simplevi
|
|
function fish_prompt -d "Write out the prompt"
|
|
printf '%s@%s%s%s%s [%s]> ' (whoami) (hostname|cut -d . -f 1) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal) $vi_mode
|
|
end
|