Правка замечаний shellcheck
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
# shellcheck shell=bash
|
||||
# vim: ft=sh
|
||||
|
||||
# Speed up autocomplete, force prefix mapping
|
||||
zstyle ':completion:*' accept-exact '*(N)'
|
||||
zstyle ':completion:*' use-cache on
|
||||
zstyle ':completion:*' cache-path $ZSH_CACHE_DIR
|
||||
zstyle ':completion:*' cache-path "$ZSH_CACHE_DIR"
|
||||
|
||||
zstyle ':completion:*:processes' command 'ps -ax'
|
||||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;32'
|
||||
@@ -33,10 +36,10 @@ zinit wait'!0' lucid light-mode depth'1' for \
|
||||
atload"!_zsh_autosuggest_start" \
|
||||
zsh-users/zsh-autosuggestions
|
||||
|
||||
if [ -n ${ZSH_MC_SUBSHELL+set} ] && [ -n ${SSH_CONNECTION+set} ]; then
|
||||
if [[ -n ${ZSH_MC_SUBSHELL+set} ]] && [[ -n ${SSH_CONNECTION+set} ]]; then
|
||||
zinit load zsh-users/zsh-history-substring-search
|
||||
else
|
||||
zstyle ":history-search-multi-word" page-size "$(($LINES/2))"
|
||||
zstyle ":history-search-multi-word" page-size "$((LINES/2))"
|
||||
zstyle ":plugin:history-search-multi-word" clear-on-cancel "yes"
|
||||
zinit wait'!0' lucid light-mode depth'1' for \
|
||||
zdharma-continuum/history-search-multi-word \
|
||||
|
Reference in New Issue
Block a user