…TERM signals and before sending KILL
• Add tests to verify that read_archive and write_archive work for paths with spaces. The other changed method is `#size`, which doesn’t work portably.
There are no tests for these commands, and we don’t want to start editors, so...
• Add test to verify that Rush::Dir.bash works for paths with spaces.
The quoted path can safely be used inside shellout (like backticks). Quotation function adapted from TextMate’s `e_sh` function (lib/escape.rb). • Add `Rush::Entry.quoted_path`, which returns an entry’s quoted `full_path`.
I.e. `dir['<TAB>` will now complete all entries of `dir`, and `dir['subdir/<TAB>` will now complete all entries under `dir['subdir']`.
• Add specs for added completion use cases.
• Update documentation.
The partial path regex matched an opening quote followed by anything but closing brackets, but brackets _may_ be part of the path, just not the quote sign. So we use a backref instead.
…denotes a directory, creating a `Rush::File` entry for it just doesn’t make sense. To me. So we check this condition and create a `Rush::Dir` entry instead.
This way, paths can be specified like this: `dir/'subdir/file'` Idea shamelessly stolen from hpricot.