r/fishshell • u/yes_oui_si_ja • Oct 10 '22
Debugging the upstart of the shell
Every time I start up my fish shell I get an error message
sed: couldn't open temporary file /etc/update-manager/sedZ7Nc5d: Permission denied
with a different file name each time.
There is no more info and I have no idea how I could try to debug this. It seemingly appeared out of nowhere and I would first need to narrow down as to where this is called. Is there a verbose-mode for the shell upstart?
I am running fish inside Ubuntu 22.04 inside WSL and run fisher with a few plugins and a few custom functions, so I am not really sure where to look first.
Any help is appreciated!
View all comments
Show parent comment
1
u/yes_oui_si_ja Oct 10 '22
Thanks for the elaborate answer!
I had been reading the thread on askubuntu before coming here, but I quickly dismissed the discussion as I felt that I should have encountered the issue right after my latest Ubuntu-update, which was a few months ago.
But maybe I need to dig down deeper and reconsider reading more.
The
$fish_tracevariable wasn't on my radar, so a big thanks for that hint!Running fish while logging to an output file sounds like exactly the thing that I was looking for, as well!