From f2029beb3d615cc42142fdd4bd5c8d4f834e92cb Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Mon, 14 Jun 2021 16:18:27 +0000 Subject: [PATCH] Fix issue where ls doesn't take parameters anymore --- containers/jug/eic-env.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/jug/eic-env.sh b/containers/jug/eic-env.sh index 77b3ca193..3f01e23af 100755 --- a/containers/jug/eic-env.sh +++ b/containers/jug/eic-env.sh @@ -12,10 +12,10 @@ export GREP_OPTIONS='--color=auto' ## can import into our plain bash --norc --noprofile session ## (aliases cannot be transferred to a child shell) function ls { - /bin/ls --color=auto + /bin/ls --color=auto $@ } function less { - /usr/bin/less -R + /usr/bin/less -R $@ } MYSHELL=$(ps -p $$ | awk '{print($4);}' | tail -n1) ## only export the functions for bash, as this does not work -- GitLab