aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-20 15:53:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-20 15:53:39 +1200
commita143ce9c38942ebe2245ad0e7c33462087692809 (patch)
treeb86f9f8882c043cd074f6e061086f92cc653823b /README.markdown
parentAdd an issue about vr() (diff)
downloaddotfiles-a143ce9c38942ebe2245ad0e7c33462087692809.tar.gz
dotfiles-a143ce9c38942ebe2245ad0e7c33462087692809.zip
Port lhn() to POSIX sh
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index b1e581d5..558c8739 100644
--- a/README.markdown
+++ b/README.markdown
@@ -180,6 +180,8 @@ in `sh/shrc.d` to be loaded by any POSIX interactive shell. Those include:
information written by the `grep.sh` script in `~/.profile.d`.
* `hgrep()` allows searching `$HISTFILE`.
* `keychain()` updates `$GPG_TTY` if set for `keychain(1)`.
+* `lhn()` gets the history number of the last command, if the POSIX `fc`
+ builtin is available.
* `ls()` tries to apply color to `ls(1)` for interactive use if available.
It's dependent on information written by the `ls.sh` script in
`~/.profile.d`.
@@ -206,7 +208,6 @@ There are a few other little tricks defined for other shells, mostly in
* `fnl()` runs a command and saves its output and error into temporary files,
defining variables with the filenames in them.
* `keep()` stores ad-hoc shell functions and variables.
-* `lhn()` gets the history number of the last command.
* `path()` manages the contents of `PATH` conveniently.
* `prompt()` sets up my interactive prompt.
* `pushd()` adds a default destination of `$HOME` to the `pushd` builtin.