Below is the output from 'alias' in an emacs shell alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' alias l='ls -CF' alias la='ls -A' alias ll='ls -alF' alias ls='ls --color=auto' Anything noticeable? Best, Yuan On Sun, Jan 8, 2012 at 5:50 AM, Peter Dyballa wrote: > > Am 8.1.2012 um 01:36 schrieb Yuan Luo: > > > What could be the problem here? > > Are in GNU Emacs' *shell* buffer any shell aliases defined? Is > particularly your ls alias set? Which "ls" is found first for execution: > your recursive alias definition (alias ls='ls --color=auto' – which "ls" is > which?) or the ls programme? > > -- > Greetings > > Pete > > Bake pizza not war! > >