Open ruffCode opened 2 years ago
You should go into Dotfiles and specify that you only want that block sourced on macOS. (Also potentially, we should add USER_HOME
to our blocklist during import. cc @rahulsarathy)
Thanks for the quick response, @mschrage. That's what I ended up doing once I found those options.
I have a few suggestions/requests on Dotfiles, if you don't mind.
JAVA_HOME
pointing to different paths, or one may not have Homebrew installed, etc.../Users/username
--> select multiple items and mark them as macos
Delete
does. Is the path/variable deleted from a dotfile, unset, or does Fig stop tracking it?I know that in this context, it's challenging to strike the right balance between out-of-the-box usability and covering potential conflicts between systems. I love the product and appreciate all your hard work.
Thanks much!
-Alexi
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
Linux (Pop OS)
Expected behaviour
I have Fig installed on a Mac, when installing on Linux, the dotfiles integration should not load automatically.
Actual behaviour
Dotfiles are downloaded automatically. USER_HOME is overridden by its Mac counterpart, breaking Zsh hooks and anything else that depends on the correct location of USER_HOME
Steps to reproduce
Install Fig on Mac, enable dotfiles integration, load dotfiles, install on Linux and
echo $USER_HOME
which will return/Users/username
instead of/home/username
Environment