mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Merge remote branch 'upstream/master'
Conflicts: lib/completion.zsh lib/git.zsh lib/rvm.zsh plugins/rails.plugin.zsh
This commit is contained in:
commit
8cae6812bb
47 changed files with 577 additions and 131 deletions
|
|
@ -1,14 +1,14 @@
|
|||
## fixme - the load process here seems a bit bizarre
|
||||
|
||||
unsetopt menu_complete # do not autoselect the first completion entry
|
||||
setopt auto_menu # show completion menu on succesive tab press
|
||||
setopt complete_in_word
|
||||
setopt always_to_end
|
||||
|
||||
unsetopt flowcontrol
|
||||
|
||||
WORDCHARS=''
|
||||
|
||||
autoload -U compinit
|
||||
compinit
|
||||
compinit -i
|
||||
|
||||
zmodload -i zsh/complist
|
||||
|
||||
|
|
@ -22,16 +22,10 @@ fi
|
|||
|
||||
zstyle ':completion:*' list-colors ''
|
||||
|
||||
|
||||
unsetopt MENU_COMPLETE
|
||||
#setopt AUTO_MENU
|
||||
|
||||
# should this be in keybindings?
|
||||
bindkey -M menuselect '^o' accept-and-infer-next-history
|
||||
|
||||
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:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w"
|
||||
|
||||
|
|
@ -40,9 +34,3 @@ if [ -f ~/.ssh/known_hosts ]; then
|
|||
zstyle ':completion:*' hosts $( sed 's/[, ].*$//' $HOME/.ssh/known_hosts )
|
||||
zstyle ':completion:*:*:(ssh|scp):*:*' hosts `sed 's/^\([^ ,]*\).*$/\1/' ~/.ssh/known_hosts`
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue