$: -> | xynapz |
open main menu

Today’s Episode of ‘It Was Working Yesterday

/ 2 min read
Last Updated:

#1 I lost my path.

Well, the other day, I had to restart my pc cuz it was onn for probably weeks and it was not doing good. Once the computer booted up, I opened my emacs as usual, and had to run a command that I had put in the path ($PATH) environment variable, and it wasn’t working. I tried debugging for quite some time and still, couldn’t figure the root cause, I wasthen started to re-configure my emacs to explicitlly load my .zshrc from my home directory. I made some changes to theconfig and restart my emacs daemon, at this point the manual loading of .zshrc was not done, I was tinkering with my dash buffer and making it align well (like every damn time), but all of a sudden the path variable I set in my .zshrc was there like it was some kind of magic.

Well, after pondering for some time, and playing with my configs some more time, I figured out the cause of the problem, well it turns out, when i restart my pc, the login shell executes my startup scripts, but the login shell does not sources my .zshrc and the path my emacs remembers, is the path the login shell put together during the startup, and thats how I wasted about 2 hours of my life. haaaaaaaaaaaaa.

#2 For Later, Come Back!