PATH:
usr
/
share
/
Modules
/
init
# shellcheck shell=sh # get current shell name by querying shell variables or looking at parent # process name if [ -n "${BASH:-}" ]; then if [ "${BASH##*/}" = 'sh' ]; then shell='sh' else shell='bash' fi elif [ -n "${ZSH_NAME:-}" ]; then shell=$ZSH_NAME else shell=$(/usr/bin/basename "$(/usr/bin/ps -p $$ -ocomm=)") fi if [ -f "/usr/share/Modules/init/$shell" ]; then . "/usr/share/Modules/init/$shell" else . '/usr/share/Modules/init/sh' fi
[-] python.py
[edit]
[-] sh
[edit]
[-] ksh
[edit]
[-] bash
[edit]
[-] tcsh
[edit]
[-] tcsh_completion
[edit]
[-] bash_completion
[edit]
[+]
ksh-functions
[-] cmake
[edit]
[-] profile.csh
[edit]
[+]
zsh-functions
[-] zsh
[edit]
[-] lisp
[edit]
[-] profile.sh
[edit]
[-] fish_completion
[edit]
[-] tcl
[edit]
[-] ruby.rb
[edit]
[-] fish
[edit]
[-] perl.pm
[edit]
[-] r.R
[edit]
[-] csh
[edit]
[+]
..