diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-08 11:34:29 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-08 11:34:29 +1200 |
commit | f9f70099edcadd2d7bf93ddf2fc91b2b0ae993e0 (patch) | |
tree | 46a4b4f7d66b9922628fca7b0bc0a0c01b87f9ba /README.markdown | |
parent | Fix an issue (silencing Git prompt errors) (diff) | |
download | dotfiles-f9f70099edcadd2d7bf93ddf2fc91b2b0ae993e0.tar.gz dotfiles-f9f70099edcadd2d7bf93ddf2fc91b2b0ae993e0.zip |
Add text-filename heuristic completion
Filesystem type and filename extension-based to keep things quick and
simple and not forking out to other tools. We'll see how well this
works, but so far I really like it.
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown index 559244a7..66c83a55 100644 --- a/README.markdown +++ b/README.markdown @@ -237,6 +237,11 @@ files, for things I really do get tired of typing repeatedly: * `pass(1)` entries * `ssh(1)` hostnames from `~/.ssh/config` +For commands that pretty much always want to operate on text, such as text file +or stream editors, I exclude special file types and extensions I know are +binary. I don't actually read the file, so this is more of a heuristic thing, +and sometimes it will get things wrong. + I also add completions for my own scripts and functions where useful. The completions are dynamically loaded if Bash is version 4.0 or greater. Otherwise, they're all loaded on startup. |