diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-19 12:48:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-19 12:48:35 +1200 |
commit | 3d8cf05dfc685e799aa5e20319e8e33288e74e04 (patch) | |
tree | 28668e9ba83860c7a30cea5a2c5b80533121ae39 /README.markdown | |
parent | Flag issue fixed (diff) | |
download | dotfiles-3d8cf05dfc685e799aa5e20319e8e33288e74e04.tar.gz dotfiles-3d8cf05dfc685e799aa5e20319e8e33288e74e04.zip |
Change cd() into POSIX shell script
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index 2367aac9..b443d618 100644 --- a/README.markdown +++ b/README.markdown @@ -166,6 +166,8 @@ in `sh/shrc.d` to be loaded by any POSIX interactive shell. Those include: * `bc()` silences startup messages from GNU `bc(1)`. * `diff()` forces the unified format for `diff(1)`. +* `cd()` wraps the `cd` builtin to allow for a second parameter for string + substitution, emulating a Zsh function I like. * `ed()` tries to get verbose error messages, a prompt, and a Readline environment for `ed(1)`. * `env()` sorts the output of `env(1)` if it was invoked with no arguments, @@ -193,8 +195,6 @@ There are a few other little tricks defined for other shells, mostly in `bash/bashrc.d`: * `bd()` changes into a named ancestor of the current directory. -* `cd()` wraps the `cd` builtin to allow for a second parameter for string - substitution, emulating a Zsh function I like. * `fnl()` runs a command and saves its output and error into temporary files, defining variables with the filenames in them. * `grep()` tries to apply color and other options good for interactive use, |