You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2008/07/10 14:52:31 UTC

[jira] Commented: (HADOOP-3714) Bash tab completion support

    [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612475#action_12612475 ] 

Enis Soztutar commented on HADOOP-3714:
---------------------------------------

Very useful patch. 
We can include this in a new contrib bash-tab-completion. Could you please provide a patch for it, and supply a README file. 
More minor thing I noticed is that it displays "or" as a first command (I guess originating from the hadoop script). 


> Bash tab completion support
> ---------------------------
>
>                 Key: HADOOP-3714
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3714
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: Chris Smith
>            Priority: Trivial
>         Attachments: hadoop.sh
>
>
> The attached Bash script adds support for tab completion of most arguments to the main Hadoop script ({{bin/hadoop}}). Namely, it allows tab completion of all the command names, subcommands for the {{fs}}, {{dfsadmin}}, {{job}}, {{namenode}} and {{pipe}} commands, arguments of the {{jar}} command and most arguments to the {{fs}} subcommands (completing local and dfs paths as appropriate).
> The file can be dropped into /etc/bash_completion.d/ on Debian-like distros, and it should then start working the next time Bash is started.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.