From ca20e3e759d168a9f4dacdb05dad2a2b295f458b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 2 Jan 2017 15:50:52 +1300 Subject: Add marked-dir tools --- README.markdown | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.markdown') diff --git a/README.markdown b/README.markdown index 777d5dd1..94bf42bb 100644 --- a/README.markdown +++ b/README.markdown @@ -164,6 +164,12 @@ terminals. If a function can be written in POSIX `sh` without too much hackery, I put it in `sh/shrc.d` to be loaded by any POSIX interactive shell. Those include: +* Four functions for using a "marked" directory, which I find a more + manageable concept than the `pushd`/`popd` directory stack: + * `md()` marks a given (or the current) directory. + * `gd()` goes to the marked directory. + * `pmd()` prints the marked directory. + * `xd()` swaps the current and marked directories. * `ad()` is a `cd` shortcut accepting targets like `/u/l/b` for `/usr/local/bin`, as long as they are unique. * `bc()` silences startup messages from GNU `bc(1)`. -- cgit v1.2.3