Msys cd .. command takes me to home directory instead of parent
Posted
by
Adrian
on Super User
See other posts from Super User
or by Adrian
Published on 2013-10-25T15:08:01Z
Indexed on
2013/10/25
15:57 UTC
Read the original article
Hit count: 471
I'm using Msys on Windows 7 with what I believe to be a Bash shell.
I want to navigate the following directory structure:
Drive (M:)
+--- Coding
+--- CPP
+--- projects
+--- other_folder_1
+--- other_folder_2
My fstab file contains the following line:
M:/Coding/CPP/projects/ /home/Adrian/
... which makes the projects folder my starting directory when opening the shell.
Unfortunately when I try to cd .. out of projects, I end up in /home instead of CPP.
I imagine this might be related to what I did in the fstab file. Is there any way for me to retain the projects folder as my starting directory while being able to cd into its parent directories?
© Super User or respective owner