dotfiles/fish/.config/fish/functions/nvim_profile.fish

8 lines
221 B
Fish
Raw Normal View History

function nvim_profile
2022-04-12 14:11:50 +02:00
if test -e /tmp/nvim_profile.profile
rm /tmp/nvim_profile.profile
end
nvim --startuptime /tmp/nvim_profile.profile +q
tail -1 /tmp/nvim_profile.profile | awk '{print $1}'
end