I am creating completions for TCSH
. Is it possible to use environment variables in completion?
I added something like below where $ROOT
is the environment variable
complete go \
"p@1@D:$ROOT/@"
But when I try to ssh
into the box
it gives an error saying $ROOT
is not known. $ROOT
would be set later by sourcing a file once i ssh and would change depending on the directory I am in.
Thanks in advance :)