| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* cdlog.sh (cdlog.mcd): New function.
(mcd, mcs): New aliases.
* README.md: Documented.
|
|
|
|
|
| |
* cdlog.sh (cdlog): Just print numeric indices
before the paths.
|
|
|
|
|
| |
* cdlog.sh (cdlog.rot, cdlog.pop): Print new
current directory if change successful.
|
| |
|
|
|
|
|
|
| |
* cdlog.sh (toplevel): Ensure that c1 exists, so that the
init code doesn't access a nonexistent c1. Condense
the assignments in the init block.
|
|
|
|
|
|
| |
* cdlog.sh (cdlog.rot): Eliminate repeated code,
distinguishing different parts with a flag indicating the
first loop iteration.
|
|
|
|
|
|
|
|
| |
* cdlog.sh (cdlog.swap): Function removed.
(cdlog.rot): New function.
(cs): Alias now points to cdlog.rot.
* README.md: Updated.
|
|
|
|
|
|
| |
* cdlog.sh (cdlog.args): New function.
(cdlog.swap): Use array to do swap in
one case.
|
|
|
|
|
|
| |
* cdlog.sh (cdlog.chdir, cdlog.swap): Condense assignment
block to fewer lines.
(toplevel): Move "cs" alias below.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|