aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--cdlog.sh1
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index ed937d3..d677d3c 100644
--- a/README.md
+++ b/README.md
@@ -33,8 +33,8 @@ receives the previously current directory.
directory in the log, and removes that entry from the log. The second
most recent directory becomes most recent and so on.
-* `cdlog` shows a listing of the four most recent entries in the
-log.
+* `cdlog` function shows a listing of the four most recent entries in the
+log. The `cl` command is an alias for this.
In addition, the `cdlog.sh` script sets the bash `direxpand` option.
With the `direxpand` option, Tab completion on a directory coming
diff --git a/cdlog.sh b/cdlog.sh
index 75b1e01..47566c7 100644
--- a/cdlog.sh
+++ b/cdlog.sh
@@ -115,6 +115,7 @@ cdlog()
alias cd='cdlog.chdir -P'
alias pd='cdlog.pop'
alias cs='cdlog.rot'
+alias cl='cdlog'
# Better completion for $x[Tab]
shopt -s direxpand