popd: add '-n' option; pushd: add '-n' option (#10435)

* Add '-n' option to pushd and popd

* Update pushd page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Onkar Ruikar
2023-08-09 19:33:37 +05:30
committed by GitHub
parent ed2d2af847
commit f40d003a7a
2 changed files with 9 additions and 0 deletions

View File

@@ -15,3 +15,7 @@
- Remove the Nth directory (starting from zero to the right from the list printed with `dirs`):
`popd -N`
- Remove the 1st directory (starting from zero to the left from the list printed with `dirs`):
`popd -n`