Cmder: ls from UnxUtils does not work

Created on 27 Nov 2015  ·  3Comments  ·  Source: cmderdev/cmder

λ ls
ls: unrecognized option --show-control-chars' Tryls --help' for more information.

Question

Most helpful comment

If you type 'alias' you get he list of aliases

λ alias
Use /? for help

clear=cls
clink="D:\Program Files\cmder\vendor\clink/clink_x64.exe" --cfgdir "D:\Program Files\cmder\config" $*
cmderr=cd /d "%CMDER_ROOT%"
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
history=cat %CMDER_ROOT%\config.history
ls=ls --show-control-chars -F --color $*
pwd=cd
unalias=alias /d $1
vi=vim $*

Then you can re-alias it without the "--show-control-chars"

λ alias ls=ls -F --color $*

All 3 comments

ls is aliased to --show-control-chars here : https://github.com/cmderdev/cmder/blob/development/vendor/aliases.example#L3

You should either delete that alias from $CMDER_ROOT/config/aliases or stop using unxutils.

Or you can leave that alias and UnxUtils alone and add a space before "ls":
λ ls

If you type 'alias' you get he list of aliases

λ alias
Use /? for help

clear=cls
clink="D:\Program Files\cmder\vendor\clink/clink_x64.exe" --cfgdir "D:\Program Files\cmder\config" $*
cmderr=cd /d "%CMDER_ROOT%"
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
history=cat %CMDER_ROOT%\config.history
ls=ls --show-control-chars -F --color $*
pwd=cd
unalias=alias /d $1
vi=vim $*

Then you can re-alias it without the "--show-control-chars"

λ alias ls=ls -F --color $*

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisrudge picture luisrudge  ·  3Comments

bmeverett picture bmeverett  ·  3Comments

justinmchase picture justinmchase  ·  3Comments

zsedcbm picture zsedcbm  ·  3Comments

isnullxbh picture isnullxbh  ·  3Comments