antonmedv/walk

Exit with pushd

mike-ward opened this issue · 3 comments

Feature request:

Add a key binding (Ctrl+X) to exit with pushd.

What is pushd?

pushd to is like cd except it remembers the folder you changed from. Type popd to return to previous folder

You can do it simply by changing cd to pushd:

function ll {
  pushd "$(llama "$@")"
}