fish-shell / fish-shell/fish-shell

make it easier to find out how a var was `set`

Open
#1,226 7 comments 2 reactions 1 assignee Claimed by @zanchey View on GitHub
enhancement
Dominant language
Rust
Stars
34.2k
Forks
2.4k
Avg merge
2d 8h
Merged PRs (30d)
13

Description

Hello,

I ran into a problem when my home folder was moved and the default environment variable values in fishd. were still pointing to the old directories.
I wasn't aware that the file overwrote the defaults and by calling `fish --debug-level=5` I still wasn't able to ascertain if the default values had been hard-coded, compiled using #ifdefs , etc.

Only a grep of the faulty values in all files with "fish" in their name (`grep yada $(find -name "*fish*" ~)`) gave me a hint and `rm ~/.config/fish/fishd.*` gave me resolve.

**TL;DR Please adding logging to the cpp-function called when calling `set` in fish.**

Cheers!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.