I'm using shells and enter to manage a "dirstack". I want to "popd" to remove dirs I've added.
I also have some aliases that I no longer want in my session. How do I delete the aliases?
I've tried things like drop but if the dirs and aliases are possibly immutable, how do I change them (without starting a new session)? Feels like there should be commands like leave (or unenter vs enter) and unalias (vs alias).
You can "Hide definitions in the current scope" with the
hidecommand.As for the
pushd/popdequivalency (see the docs), you can enter a new shell withenter, and exit it withdexit. You can inspect the table withshellsorg, and activate the next or previous directory withnandp.