I set a custom PS1 to expand the current directory. That works well, however, the text input does not match the PS1 length. Instead of the input being at the “>” I set at the end of PS1, it is instead only about 10 characters in from the line start. This only happens when I’m inputting a fair amount of
Tag: command-prompt
cd command : how to go back an unknown number of levels from current subdirectory to a particular parent directory (unix and dos)
Ok, so I am trying to resolve a uri in an xmlcatalog and I want to go back from a particular sub-directory back to a parent-directory that is an-unknown-number-of-levels behind. eg: file:///D:/Sahil/WorkSpaces1/Cartridges1/Project1/ParticularFolder/Level1/Level2/<so-many-levels>/CurrentFolder I want to go back from “CurrentFolder” to “ParticularFolder” without typing in the full FilePath. I want to achieve this because, I work in multiple Projects which all