19 lines
308 B
Bash
19 lines
308 B
Bash
# Zsh options for all users
|
|
|
|
# enable extended globbing
|
|
setopt extended_glob
|
|
|
|
# autoload misc files
|
|
for dotfile in "$ZDOTDIR"/*(D); do
|
|
source $dotfile
|
|
done
|
|
|
|
# Check history file
|
|
if [[ ! -f "${HISTFILE}" ]]; then
|
|
mkdir -p "${HISTFILE%/*}"
|
|
touch "${HISTFILE}"
|
|
fi
|
|
|
|
# vim-like keybindings
|
|
bindkey -v
|