tide
tide copied to clipboard
Do not export cached variables in the env
Is your feature request related to a problem? Please describe
I noticed tide makes the output of env look funny because it stores color escape codes in the env. I wonder if these variables can be changed to only exported when passing into the subprocess.
Example:
$ env | jq -R . | jq -s .
[
"_tide_color_separator_same_color=\u001b[38;2;127;132;156m",
"_tide_location_color=\u001b[38;2;180;190;254m",
...
]
Describe the solution you'd like
Instead of defining these variables in functions/_tide_cache_variables.fish as -gx', change them to -gonly and pass them to the subshell viaset -lx`.
These changes seems to work. changes