Adding into the zshrc config some autocompletion items and a local
override custom file
This commit is contained in:
parent
7ad4fe2350
commit
0385a8bd20
12
zshrc
12
zshrc
@ -45,6 +45,17 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
setopt NO_clobber # Do not clobber files by default
|
setopt NO_clobber # Do not clobber files by default
|
||||||
setopt hist_ignore_all_dups # Replace old history with the newest call to an identical call
|
setopt hist_ignore_all_dups # Replace old history with the newest call to an identical call
|
||||||
setopt hist_ignore_space # Remove history lines that start with spaces
|
setopt hist_ignore_space # Remove history lines that start with spaces
|
||||||
|
setopt correctall # Correct commands
|
||||||
|
|
||||||
|
# Enable compinit advanced completion
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
|
# Completion options
|
||||||
|
# Give descriptions of what the types of completions given
|
||||||
|
zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
|
||||||
|
# Give an actual output when there is no match
|
||||||
|
zstyle ':completion:*:warnings' format '%BNo matches for: %d%b'
|
||||||
|
|
||||||
### User configuration
|
### User configuration
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
@ -79,6 +90,7 @@ timezsh() {
|
|||||||
include_files=(
|
include_files=(
|
||||||
"$HOME/.zsh_aliases"
|
"$HOME/.zsh_aliases"
|
||||||
"$HOME/.zsh_exports"
|
"$HOME/.zsh_exports"
|
||||||
|
"$HOME/.zsh_local"
|
||||||
)
|
)
|
||||||
|
|
||||||
for file in $include_files; do
|
for file in $include_files; do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user