aboutsummaryrefslogtreecommitdiffstats
path: root/cdlog.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove repetitive code from cdlog.swap.Kaz Kylheku2024-01-191-44/+24
| | | | | | * cdlog.sh (cdlog.args): New function. (cdlog.swap): Use array to do swap in one case.
* Minor code tidying.Kaz Kylheku2024-01-191-17/+9
| | | | | | * cdlog.sh (cdlog.chdir, cdlog.swap): Condense assignment block to fewer lines. (toplevel): Move "cs" alias below.
* cs takes argument; swapping behavior removed from cd.Kaz Kylheku2024-01-191-18/+74
| | | | | | | | * cdlog.sh (cdlog.chdir): No specifial behavior when $PWD equals $c1. (cdlog.swap): Swapping behavior implemented here now, with optional numeric argument to swap with entries other than first.
* Change semantics of swap implementation.Kaz Kylheku2024-01-181-4/+4
| | | | | | * cdlog.sh (cdlog.chdir): When the user changes to $c1, let's not involve $c2 but just effectively exchange the current working directory and $c1.
* Change naming of functions to dot notation.Kaz Kylheku2024-01-181-8/+8
|
* Initial version of cdlog.Kaz Kylheku2024-01-181-0/+114