4 ms·
Not at all. ^site1^site2 would only work if it was your last command. The idea, I believe, is when your browsing around multiple versions of the same directory
by asdfaoeu 13y ago
Not at all. ^site1^site2 would only work if it was your last command.
The idea, I believe, is when your browsing around multiple versions of the same directory structure. The 'cd site1 site2' allows you to jump directly to the equivalent directory in the other structure.
The equivalent in bash would be something like: cd `pwd | sed 's/tmp1/tmp2/'`
- ralph 13y agoIn bash: cd ${PWD/foo/bar}