aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-17 18:15:37 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-17 18:17:25 +1200
commit524808dcaa8a435cc2b7092a92532aee03405da0 (patch)
treee372543f66653f84c3800b62a4395eddefbd572d /README.markdown
parentInclude shrc.d in check-sh target (diff)
downloaddotfiles-524808dcaa8a435cc2b7092a92532aee03405da0.tar.gz
dotfiles-524808dcaa8a435cc2b7092a92532aee03405da0.zip
Move completion section below function section
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown44
1 files changed, 22 insertions, 22 deletions
diff --git a/README.markdown b/README.markdown
index 4800faaf..a59cfe73 100644
--- a/README.markdown
+++ b/README.markdown
@@ -161,28 +161,6 @@ common terminals using both `termcap(5)` and `terminfo(5)`, including \*BSD
systems. It's also designed to degrade gracefully for eight-color and no-color
terminals.
-#### Completion
-
-I find the `bash-completion` package a bit too heavy for my tastes, and turn it
-off using a stub file installed in `.config/bash_completion`. The majority of
-the time I just want to complete paths anyway, and this makes for a quicker
-startup without a lot of junk functions in my Bash namespace.
-
-I do make some exceptions with completions defined in `.bash_completion.d`
-files for things I really do get tired of typing repeatedly:
-
-* Builtins, commands, help topics, shell options, and variables
-* `ftp(1)` hostnames from `~/.netrc`
-* `git(1)` branch names
-* `gpg(1)` long options
-* `make(1)` targets read from a `Makefile`
-* `man(1)` page titles
-* `mysql(1)` databases from `~/.mysql/*.cnf`
-* `pass(1)` entries
-* `ssh(1)` hostnames from `~/.ssh/config`
-
-I also add completions for my own scripts and functions where useful.
-
#### Functions
If a function can be written in POSIX `sh` without too much hackery, I put it
@@ -238,6 +216,28 @@ There are a few other little tricks defined for other shells, mostly in
* `vr()` tries to change to the root directory of a source control
repository.
+#### Completion
+
+I find the `bash-completion` package a bit too heavy for my tastes, and turn it
+off using a stub file installed in `.config/bash_completion`. The majority of
+the time I just want to complete paths anyway, and this makes for a quicker
+startup without a lot of junk functions in my Bash namespace.
+
+I do make some exceptions with completions defined in `.bash_completion.d`
+files for things I really do get tired of typing repeatedly:
+
+* Builtins, commands, help topics, shell options, and variables
+* `ftp(1)` hostnames from `~/.netrc`
+* `git(1)` branch names
+* `gpg(1)` long options
+* `make(1)` targets read from a `Makefile`
+* `man(1)` page titles
+* `mysql(1)` databases from `~/.mysql/*.cnf`
+* `pass(1)` entries
+* `ssh(1)` hostnames from `~/.ssh/config`
+
+I also add completions for my own scripts and functions where useful.
+
#### pdksh
The pdksh configuration files and functions are not nearly as featureful as the