diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-25 19:42:26 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-25 19:42:26 +1300 |
commit | c80515497d406224ba66150d0a2b0c02b6e1172a (patch) | |
tree | 622e06f5ce50a483cd8ac6e58ecdff474420e67f /bash/bashrc.d | |
parent | Include system-wide ssh config in completion (diff) | |
download | dotfiles-c80515497d406224ba66150d0a2b0c02b6e1172a.tar.gz dotfiles-c80515497d406224ba66150d0a2b0c02b6e1172a.zip |
Complete cf function with dir names
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r-- | bash/bashrc.d/cf.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bashrc.d/cf.bash b/bash/bashrc.d/cf.bash index 66917375..707f2a76 100644 --- a/bash/bashrc.d/cf.bash +++ b/bash/bashrc.d/cf.bash @@ -24,4 +24,5 @@ cf() { printf '%d\t%s\n' "${#files[@]}" "$dir" ) } +complete -A directory cf |