Thanks for the feedback! I've removed the lambda, but I wasn't able to use a string directly, I had to set the value elsewhere using a defconst. This is due to how `eshell-get-variable' interprets string values associated to variables. I'm attaching a new patch. Thanks