diff options
author | Dennis Eriksen <d@ennis.no> | 2022-12-11 21:13:51 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2022-12-11 21:13:51 +0100 |
commit | df2e0d38cf5d22895fff5e3872b9744472979d74 (patch) | |
tree | fffb64eafa93c4d093e5275f8e2ed4d32a6aac01 | |
parent | try vim as default editor.. launch nvim manually if wanted (diff) | |
download | idgatt-df2e0d38cf5d22895fff5e3872b9744472979d74.tar.gz |
remove trailing spacesv2.1.0
-rw-r--r-- | zsh/.zsh/.zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/.zsh/.zshrc b/zsh/.zsh/.zshrc index d4e85cf..64730cf 100644 --- a/zsh/.zsh/.zshrc +++ b/zsh/.zsh/.zshrc @@ -511,10 +511,10 @@ zstyle ':completion:*:scp:argument-rest:' group-order hosts files users # hosts # get hosts from ~/.ssh/config, /etc/ssh/ssh_config, ~/.ssh/known_hosts, and /etc/ssh/ssh_known_hosts{,2} zstyle -e ':completion:*:hosts' hosts 'reply=( - ${${(s: :)${(ps:\t:)${${(@M)${(f)"$(cat {~/.ssh/,/etc/ssh/ssh_}config(rN) /dev/null)"}:#Host *}#Host }}}:#*[*?]*} + ${${(s: :)${(ps:\t:)${${(@M)${(f)"$(cat {~/.ssh/,/etc/ssh/ssh_}config(rN) /dev/null)"}:#Host *}#Host }}}:#*[*?]*} ${${${${(f)"$(cat {~/.ssh/,/etc/ssh/ssh_}known_hosts{,2}(rN) /dev/null)"}:#[\|]*}%%\ *}%%,*} )' - + # List folders AND files when autocompleting with cd. I like this because it # let's me use cd as a kind of ls-tool. From https://superuser.com/a/392246 compdef _path_files cd |