argcomplete icon indicating copy to clipboard operation
argcomplete copied to clipboard

autocomplete in csh not working

Open shahzebsiddiqui opened this issue 4 years ago • 5 comments

I tried to register my program with tcsh and it didn't work, after following the direction autocomplete works on zsh, bash but not tcsh in my Mac system

(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% eval `register-python-argcomplete --shell tcsh buildtest`
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% buildtest <TAB>
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% echo $SHELL
/bin/csh
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% $SHELL --version
tcsh 6.21.00 (Astron) 2019-05-08 (x86_64-apple-darwin) options wide,nls,dl,bye,al,kan,sm,rh,color,filec

The version of arcomplete is the following

(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% pip list | grep argcomplete
argcomplete                   1.12.2
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% python --version
Python 3.7.3

Any idea whats the issue?

shahzebsiddiqui avatar Feb 03 '21 14:02 shahzebsiddiqui

Thanks for the report. Can you please export _ARC_DEBUG=1 and paste the output of attempted tab completion?

evanunderscore avatar Feb 03 '21 16:02 evanunderscore

i dont see any output

(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% setenv _ARC_DEBUG 1
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% echo $_ARC_DEBUG
1
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% eval `register-python-argcomplete --shell tcsh buildtest`
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% buildtest <TAB>

shahzebsiddiqui avatar Feb 03 '21 16:02 shahzebsiddiqui

Are you able to try again with the change in #342?

evanunderscore avatar Feb 04 '21 06:02 evanunderscore

ill test it once there is new release. Sorry bit overwhelmed right now.

shahzebsiddiqui avatar Feb 08 '21 19:02 shahzebsiddiqui

No problem at all. I'm not in any rush, just trying to help resolve your issue whenever you have the time.

evanunderscore avatar Feb 09 '21 08:02 evanunderscore

Thank you for your interest in argcomplete. csh is not supported by the maintainers and is only supported by contributors. To help focus maintenance, I will be closing this issue now; please feel free to continue discussion if you have additional information.

kislyuk avatar Mar 19 '23 09:03 kislyuk