On Wed, 4 Jun 2014 14:42:23 -0400 "James B. Byrne" byrnejb@harte-lyne.ca wrote:
On Tue, June 3, 2014 12:37, Stephen Harris wrote:
The OP likely has a function called "cd" which does other stuff (sets the prompt?) and then calls the builtin cd, but its not quoting the variables properly and so breaking.
hll-m22:~ byrnejb$ alias alias ..='cd ..' alias ...='cd ../..' alias copy='cp -i' alias cp='cp -i' alias etl='~/projects/proforma.git/vendor/plugins/activewarehouse-etl/bin/etl' alias la='ls -la' alias ll='ls -l' alias mate='gvim -c NERDTree' alias mc='mc -c' alias mcd='mount /mnt/cdrom' alias rm='rm -i' alias search='grep' alias ucd='umount /mnt/cdrom' $ unalias cd -bash: unalias: cd: not found
Try with backslash: \cd ...
BR, Bob