fixed triton/spearhead in eval output

This commit is contained in:
Marius Pana 2018-07-26 17:39:00 +03:00
parent e980829ca9
commit 2d92219fef

View File

@ -160,7 +160,7 @@ function do_env(subcmd, opts, args, cb) {
}); });
p('# Run this command to configure your shell:'); p('# Run this command to configure your shell:');
p('# eval "$(triton env%s%s)"', p('# eval "$(spearhead env%s%s)"',
(shortOpts ? ' -'+shortOpts : ''), (shortOpts ? ' -'+shortOpts : ''),
(profile.name === this.tritonapi.profile.name (profile.name === this.tritonapi.profile.name
? '' : ' ' + profile.name)); ? '' : ' ' + profile.name));