I'm realtivly new to bash as having always developed on a windows machine (yeah i know). Until recently I have been able to cd into a dir by using
cd a\ dir\ name\ with\ spaces/
but suddenly this does not work any longer. Even using TAB auto-complete it will generate the proper escapes but I'm always met with something like
-bash: cd: a: No such file or directory
a friend mentioned it may be path related. Can anyone shed some light on this issue for me?
Below is my .bash_profile
# Exe subshell script
source ~/.bashrc
And the .bashrc
function cs ()
{
cd $1
ls
}
# A new version of "cd" which
# prints the directory after cd'ing
cd() {
builtin cd $1
pwd
}
~/.bash_profile
)?