New Setting for $PATH
#150
Replies: 6 comments 2 replies
-
Nice idea! 🙂 I think I would like to combine it with a more generic idea of implementing support for defining freely nameable environment variables: #23 (that discussion contains a bit old information about escaping variable values, but I think it has some pretty solid basic ideas). Two things that would be needed so that it would work for your use-case:
Maybe the syntax for defining an environment variable in SC could be about something like this: Or just keep it simple?Your original idea might be more simpler for a user to set up in the UI, as it would not require the user to think about including the old value of I need to think about this and decide how to proceed. Thank you! 🌞 |
Beta Was this translation helpful? Give feedback.
-
@chrisgrieser Edit 2022-04-30: Nevermind, it does not work. |
Beta Was this translation helpful? Give feedback.
-
+1 for this feature! Before it's fully supported, I think a simple solution for macOS is to add
This doesn't work for me. But we can do export PATH="/usr/local/bin:/opt/homebrew/bin/:$PATH" && source ~/.zshrc # && do_something_else The above command also solves the nvm/node problem here #191. Since the node path is added dynamically in my |
Beta Was this translation helpful? Give feedback.
-
Implemented, waiting for a release OR a beta test (
|
Beta Was this translation helpful? Give feedback.
-
Beta test |
Beta Was this translation helpful? Give feedback.
-
Released@chrisgrieser please let me know if you have any comments. 🙂 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to nil's fix, I finally got the plugin working to try out some stuff.
So I am trying to use markdownlint on the file, and everything works fine, but I do have to add stuff to
PATH
for basically every command that runs something that is installed, which is not only inconvenient, but also decreases the readability of your commands.I propose to have a setting which paths to add to the PATH? 🙂
Beta Was this translation helpful? Give feedback.
All reactions