Skip to content
Snippets Groups Projects
Commit f2029beb authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Fix issue where ls doesn't take parameters anymore

parent f6cfce16
No related branches found
No related tags found
1 merge request!84Fix issue where ls doesn't take parameters anymore
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment