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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
221 B
Fish
Raw Normal View History

function nvim_profile
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