Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Basically, ive been tasked with getting bash autocomplete working hadoop, but /usr/bin/hdfs is a script that actually sets a path and then calls the actual hdfs "binary".

Autocomplete works (there is a bug in there but it works) when calling /usr/lib/hadoop-hdfs/bin/hdfs directly.

So is there something I am missing? I have seen a wrapper script for aliases but it's the same problem. The only solution I can think of outside complete is turning the script into a symlink for the binary and setting the variable globally.

Seems wrong doing that though!

share|improve this question
    
You might want to ask this on stackoverflow.com –  glenn jackman Oct 22 '13 at 15:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.