We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1259245 commit ec9bbacCopy full SHA for ec9bbac
tools/menuconfig.py
@@ -219,6 +219,11 @@ def touch_env():
219
if sys.platform != 'win32':
220
env_sh = open(os.path.join(env_dir, 'env.sh'), 'w')
221
env_sh.write('export PATH=~/.env/tools/scripts:$PATH')
222
+
223
+ # if fish config exists, generate env.fish
224
+ if os.path.exists(os.path.join(home_dir, '.config', 'fish', 'config.fish')):
225
+ env_fish = open(os.path.join(env_dir, 'env.fish'), 'w')
226
+ env_fish.write('set -gx PATH ~/.env/tools/scripts $PATH')
227
else:
228
if os.path.exists(os.path.join(env_dir, 'tools', 'scripts')):
229
os.environ["PATH"] = os.path.join(env_dir, 'tools', 'scripts') + ';' + os.environ["PATH"]
0 commit comments