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
Branches
Tags
1 merge request!84Fix issue where ls doesn't take parameters anymore
...@@ -12,10 +12,10 @@ export GREP_OPTIONS='--color=auto' ...@@ -12,10 +12,10 @@ export GREP_OPTIONS='--color=auto'
## can import into our plain bash --norc --noprofile session ## can import into our plain bash --norc --noprofile session
## (aliases cannot be transferred to a child shell) ## (aliases cannot be transferred to a child shell)
function ls { function ls {
/bin/ls --color=auto /bin/ls --color=auto $@
} }
function less { function less {
/usr/bin/less -R /usr/bin/less -R $@
} }
MYSHELL=$(ps -p $$ | awk '{print($4);}' | tail -n1) MYSHELL=$(ps -p $$ | awk '{print($4);}' | tail -n1)
## only export the functions for bash, as this does not work ## 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.
Please register or to comment