diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-01-23 15:42:31 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-01-23 15:42:31 -0800 |
commit | 61d64610191d29a2b058d5d5011b4a3710ad2aa1 (patch) | |
tree | 159a8ee76afefe5022d3e86b4c9e49f03965ba08 | |
parent | ea2a3600f1b8b432c2a1f3adaf873982e9fa489b (diff) | |
download | cdlog-61d64610191d29a2b058d5d5011b4a3710ad2aa1.tar.gz cdlog-61d64610191d29a2b058d5d5011b4a3710ad2aa1.tar.bz2 cdlog-61d64610191d29a2b058d5d5011b4a3710ad2aa1.zip |
Add cl alias for cdlog.
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | cdlog.sh | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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 |