fish-shell/share/functions/fish_title.fish
Fabian Homborg feb6e9c90b Make DEFAULT_PROMPT and DEFAULT_TITLE work without functions
The prompt is a fallback that is overridden via a function file
anyway.

Do that with the title as well, so we can use just builtins.

This removes error messages when $fish_function_path is borked.
2018-05-12 13:53:45 +02:00

3 lines
75 B
Fish

function fish_title
echo (status current-command) " " (__fish_pwd)
end