mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-27 02:34:13 +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
|