add custom fish title

This commit is contained in:
LordMZTE 2021-12-27 17:15:42 +01:00
parent e01bdfb08b
commit 781e4e28b2

View file

@ -60,6 +60,12 @@ function fish_prompt
prompt $status $fish_bind_mode
end
# custom title
functions -e fish_title
function fish_title
echo (prompt_pwd) '|' (set -q argv[1] && echo $argv[1] || status current-command)
end
# ENV
export CXX=clang++
export EDITOR=nvim