Comment

Comment by hackerpolicy

If you work with something like this

  /this/is/some/very/nested/directory/
and you need to move to almost the same structure

  /this/be/some/very/nested/directory/
then you might benefit from

  function bcd {
    cd ${PWD/$1/$2}
  }
parent hackerpolicy 13 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton