Re: [OT] OSX-10.9.3 cd ~'/ problem with spaces'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 4 Jun 2014 14:42:23 -0400
"James B. Byrne" <byrnejb@xxxxxxxxxxxxx> 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux