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

Merge branch 'fix_ls' into 'master'

Fix issue where ls doesn't take parameters anymore

See merge request !84
parents f6cfce16 f2029beb
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' ...@@ -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.
Finish editing this message first!
Please register or to comment