Comments (8)
Hello @dilipzt,
More information is needed to correctly understand your issue.
For each kind of RHEL host you access (7, 8 and 9), please run the following commands under the tcsh shell and provide the output on this ticket:
module --version
$MODULES_CMD tcsh autoinit
rpm -qi environment-modules
rpm -ql environment-modules
ls -l /usr/share/Modules/init/
from modules.
RHEL7_RequiredCommandOutput.txt
RHEL8_RequiredCommandOutput.txt
RHEL9_RequiredCommandOutput.txt
Hi @xdelaruelle
Please find required command output file.
Many thanks! to working on this.
from modules.
Hi @dilipzt
Thanks for these outputs but they are not complete. I am missing the result of the following commands:
module --version
$MODULES_CMD tcsh autoinit
I would also like to see the output of the alias
command to see if the completion alias are correctly defined.
From what I understand, you would like to perform a path completion with module add
command rather doing a completion against available modules.
from modules.
I can confirm that with current Tcsh completion definition, word pattern is only completed against available modules and command options.
I cannot explain why you observe it working on RHEL 7, unless if no completion is defined for module
command.
From what I have tested right now, it seems feasible update the completion script to complete against existing files if current word to complete matches /*
, ./*
, ../
or ~/
glob patterns. This change should not break completion against available modules or options if current word does not match these patterns.
from modules.
Hey @xdelaruelle,
Please find snapshot of required command.
from modules.
@dilipzt The update of tcsh_completion
script I have just pushed should address your request.
from modules.
@xdelaruelle So, Do I need to patch any particular file or go for complete installation of latest version.
May I have the steps to address this problem - Please.
from modules.
You need to update the init/tcsh_completion
file as I did in 9ae9c40.
You should find this file in ???/modulestcl/5.0.1/init/tcsh_completion
(replace ???
with the path you have obfuscated in your input).
Please note you seem using some custom wrapper over modulecmd
(as modulecmd reports Modules Wrapper for vbuild toolsetup 0.2
in the provided output).
Once you have patched tcsh_completion
file, restart a tcsh shell session. Completion should then work as expected.
If not, please provide the output of the following commads:
alias | grep module
complete module
from modules.
Related Issues (20)
- Loading module in fish shell prints commands to stdout HOT 2
- Error message reported about an indirect dependency issue whereas module is correctly loaded HOT 2
- Error exit code set when one requirement fails to load however alternative requirement is loaded
- Module not found error message reported whereas an alternative requirement is loaded
- module load python error: "Tcl wasn't installed properly" HOT 3
- MODULEPATH unset with `module stash` HOT 3
- Error reported when a cache file for a greater Modules version is found
- How to category software with prefix? HOT 3
- modulefile man page is in the wrong man section HOT 1
- eval a command HOT 3
- Add options to module-hide/module-forbid to explicitly hide/forbid modules based on user/group HOT 4
- Allow path element equal to delimiter character on append/prepend-path
- errors thrown after 'SU' command issued from user: oracle (non-sudoers). HOT 2
- cmd.cmd in the pre-built package for Windows sets MODULESHOME incorrectly in certain cases HOT 1
- Better Handling of Now-Forbidden Modulefile Names HOT 3
- Installation directory differs on platforms HOT 1
- How to cite "module"? HOT 2
- Facing error with envsetup.sh HOT 4
- Error when switching between modules version (`--enable-versioning` option) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modules.