mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Update shell completion related setup
This commit is contained in:
@@ -5,5 +5,10 @@
|
|||||||
# Deterimine current directory
|
# Deterimine current directory
|
||||||
DOTBASH="$DOTSHELL/bash"
|
DOTBASH="$DOTSHELL/bash"
|
||||||
|
|
||||||
|
# bash-completion
|
||||||
|
if [ -f /usr/local/etc/bash_completion ]; then
|
||||||
|
source /usr/local/etc/bash_completion
|
||||||
|
fi
|
||||||
|
|
||||||
source "$DOTBASH/prompt.sh"
|
source "$DOTBASH/prompt.sh"
|
||||||
# source "$DOTBASH/bash-ido.sh" # Disabled for making life complicated
|
# source "$DOTBASH/bash-ido.sh" # Disabled for making life complicated
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ zplug "$DOTZSH/themes/plain", from:local
|
|||||||
# zplug "junegunn/fzf", of:"shell/*.zsh"
|
# zplug "junegunn/fzf", of:"shell/*.zsh"
|
||||||
zplug "jimeh/zsh-peco-history"
|
zplug "jimeh/zsh-peco-history"
|
||||||
|
|
||||||
zplug "b4b4r07/enhancd", of:"zsh/*.zsh"
|
zplug "b4b4r07/enhancd", of:"init.sh"
|
||||||
zplug "zsh-users/zsh-completions"
|
zplug "zsh-users/zsh-completions"
|
||||||
zplug "zsh-users/zsh-autosuggestions"
|
zplug "zsh-users/zsh-autosuggestions"
|
||||||
zplug "zsh-users/zsh-syntax-highlighting", nice:19
|
zplug "zsh-users/zsh-syntax-highlighting", nice:19
|
||||||
@@ -60,8 +60,8 @@ zplug load
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Enable bash-style completion.
|
# Enable bash-style completion.
|
||||||
autoload -U bashcompinit
|
autoload -U +X compinit && compinit
|
||||||
bashcompinit
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
|
||||||
# Disable shared history.
|
# Disable shared history.
|
||||||
unsetopt share_history
|
unsetopt share_history
|
||||||
|
|||||||
Reference in New Issue
Block a user