bash completion for 'triton env TAB'
This commit is contained in:
parent
0a3c48d2ea
commit
8d8d9ed39f
@ -67,12 +67,12 @@ do_completion.help = [
|
||||
'Emit bash completion. See help for installation.',
|
||||
'',
|
||||
'Installation (Mac):',
|
||||
' {{name}} completion > /usr/local/etc/bash_completion.d/{{name}}',
|
||||
' source /usr/local/etc/bash_completion.d/{{name}}',
|
||||
' {{name}} completion > /usr/local/etc/bash_completion.d/{{name}} \\',
|
||||
' && source /usr/local/etc/bash_completion.d/{{name}}',
|
||||
'',
|
||||
'Installation (Linux):',
|
||||
' sudo {{name}} completion > /etc/bash_completion.d/{{name}} # Linux',
|
||||
' source /etc/bash_completion.d/{{name}}',
|
||||
' sudo {{name}} completion > /etc/bash_completion.d/{{name}} \\',
|
||||
' && source /etc/bash_completion.d/{{name}}',
|
||||
'',
|
||||
'Alternative installation:',
|
||||
' {{name}} completion > ~/.{{name}}.completion # or to whatever path',
|
||||
|
@ -227,4 +227,6 @@ do_env.help = [
|
||||
/* END JSSTYLED */
|
||||
].join('\n');
|
||||
|
||||
do_env.completionArgtypes = ['tritonprofile', 'none'];
|
||||
|
||||
module.exports = do_env;
|
||||
|
Reference in New Issue
Block a user