Avery Pennarun
|
c1a1f32445
|
MacOS: "-e filename/." returns true even for non-directories.
This has something to do with resource forks. So use "-d filename/."
instead, which returns false if filename is not a directory.
|
2011-03-05 19:03:30 -08:00 |
|
Avery Pennarun
|
96347f3d83
|
bash completions: also mark 'do' as a completable command.
(ie. minimal/do)
|
2011-01-01 21:59:24 -08:00 |
|
Avery Pennarun
|
3c256dee9b
|
bash completions: work correctly when $cur is an empty string.
Otherwise 'cd t/defaults-flat' then 'redo <tab>' doesn't show all the
possible targets.
|
2011-01-01 21:57:29 -08:00 |
|
Avery Pennarun
|
70923c5f30
|
bash completions: call redo-targets for a more complete list.
Also fix handling of filenames needing quoting (like "t/space dir"),
directories, and targets named after directories.
|
2011-01-01 21:12:50 -08:00 |
|
Avery Pennarun
|
d5beda0ffe
|
bash completions: work correctly with subdirs, ie. 'redo t/<tab>'
|
2011-01-01 21:12:14 -08:00 |
|
Zoran Zaric
|
fa4b64285d
|
Sample bash completion rules for redo targets.
|
2011-01-01 17:15:16 -08:00 |
|