1
0

add completions submodule

This commit is contained in:
2025-02-13 21:50:09 +01:00
parent 7c2b4b2fa6
commit fc30cfb5e8
4 changed files with 12 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "zsh/zsh-completions"]
path = zsh/zsh-completions
url = https://github.com/zsh-users/zsh-completions.git

View File

View File

@@ -8,10 +8,18 @@ setopt HIST_IGNORE_SPACE # Do not record an event starting with a space.
unsetopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file.
setopt SHARE_HISTORY # Share history between all sessions.
setopt AUTO_PUSHD # Push the current directory visited on the stack.
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
alias d='dirs -v'
for index ({1..9}) alias "c$index"="cd +${index}"; unset index
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
source $DOTFILES/zsh/completion.zsh
fpath=($DOTFILES/zsh/zsh-completions/src $fpath)
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

1
zsh/zsh-completions Submodule

Submodule zsh/zsh-completions added at 7f0a0c4451