Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
455669e9
Commit
455669e9
authored
Jun 03, 2010
by
Robby Russell
Browse files
Removing legacy completion code
parent
ab2c0744
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/completion.zsh
View file @
455669e9
...
@@ -27,8 +27,6 @@ zstyle ':completion:*' list-colors ''
...
@@ -27,8 +27,6 @@ zstyle ':completion:*' list-colors ''
bindkey
-M
menuselect
'^o'
accept-and-infer-next-history
bindkey
-M
menuselect
'^o'
accept-and-infer-next-history
zstyle
':completion:*:*:*:*:*'
menu
select
zstyle
':completion:*:*:*:*:*'
menu
select
# zstyle ':completion:*:*:*:*:processes' force-list always
zstyle
':completion:*:*:kill:*:processes'
list-colors
'=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
zstyle
':completion:*:*:kill:*:processes'
list-colors
'=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
zstyle
':completion:*:*:*:*:processes'
command
"ps -u
`
whoami
`
-o pid,user,comm -w -w"
zstyle
':completion:*:*:*:*:processes'
command
"ps -u
`
whoami
`
-o pid,user,comm -w -w"
...
@@ -37,9 +35,3 @@ if [ -f ~/.ssh/known_hosts ]; then
...
@@ -37,9 +35,3 @@ if [ -f ~/.ssh/known_hosts ]; then
zstyle
':completion:*'
hosts
$(
sed
's/[, ].*$//'
$HOME
/.ssh/known_hosts
)
zstyle
':completion:*'
hosts
$(
sed
's/[, ].*$//'
$HOME
/.ssh/known_hosts
)
zstyle
':completion:*:*:(ssh|scp):*:*'
hosts
`
sed
's/^\([^ ,]*\).*$/\1/'
~/.ssh/known_hosts
`
zstyle
':completion:*:*:(ssh|scp):*:*'
hosts
`
sed
's/^\([^ ,]*\).*$/\1/'
~/.ssh/known_hosts
`
fi
fi
# Complete on history
#zstyle ':completion:*:history-words' stop yes
#zstyle ':completion:*:history-words' remove-all-dups yes
#zstyle ':completion:*:history-words' list false
#zstyle ':completion:*:history-words' menu yes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment