fish: functions: Add an alias to easily get neovim start up time
This commit is contained in:
parent
5a270db645
commit
426cdd7ee8
|
@ -0,0 +1,7 @@
|
|||
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
|
Loading…
Reference in New Issue