Thanks to visit codestin.com
Credit goes to github.com

Skip to content

eval a command #519

@antoine-morvan

Description

@antoine-morvan

Hello,

I am setting up a module file for the JUBE tool. This tools comes with a command to add shell completion:
https://apps.fz-juelich.de/jsc/jube/jube2/docu/commandline.html#complete

The recommanded usage is : eval "$(jube complete)"

However, the source-sh command in a module file is looking for a script file, and cannot execute a plain command. Similarly, the system command does not know of any eval binary; as it is a builtin function of the shell.

How would you call this eval command to properly setup shell completion in a module file ?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions