chore: whitespace changes

This commit is contained in:
George Rawlinson 2021-07-08 16:52:07 +00:00
parent 9061406734
commit f3ae58d3eb
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
3 changed files with 20 additions and 12 deletions

View File

@ -1,4 +1,6 @@
#
# key bindings
#
# set emacs mode
bindkey -e

View File

@ -1,4 +1,6 @@
#
# completion configuration
#
# have the menu highlight as we cycle through options
zstyle ':completion:*' menu select
@ -18,7 +20,7 @@ setopt COMPLETE_ALIASES
# complete . and .. special directories
zstyle ':completion:*' special-dirs true
# use caching so that commands like apt and dpkg complete are useable
# enable caching so that commands like apt and dpkg are completeable
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path "${ZCACHEDIR}"

View File

@ -1,3 +1,7 @@
#
# zsh-specific options
#
# general
setopt NO_BEEP # disable terminal beep
setopt MULTI_OS # pipe to multiple outputs
@ -9,17 +13,17 @@ setopt EXTENDED_GLOB # enable zsh globbing features
setopt NUMERIC_GLOB_SORT # sort globs numerically, not by letter
# history
HISTSIZE=100000 # set history size to 100K
SAVEHIST="${HISTSIZE}" # cap history size at 100K
setopt EXTENDED_HISTORY # record timestamp on command in HISTFILE
setopt HIST_EXPIRE_DUPS_FIRST # delete duplicates first when HISTFILE > HISTSIZE
setopt APPEND_HISTORY # ignore duplicate commands in history list
setopt HIST_FIND_NO_DUPS # when searching history don't display results already cycled through twice
setopt HIST_IGNORE_SPACE # ignore commands that start with space
setopt HIST_VERIFY # show command with history expansion to user before running it
setopt SHARE_HISTORY # shares history across multiple zsh sessions, in real time
setopt HIST_IGNORE_ALL_DUPS # do not write commands to history that are duplicates of the previous command
setopt HIST_REDUCE_BLANKS # remove erroneous blanks from commands before appending to history
HISTSIZE=100000 # set history size to 100K
SAVEHIST="${HISTSIZE}" # cap history size at 100K
setopt EXTENDED_HISTORY # record timestamp on command in HISTFILE
setopt HIST_EXPIRE_DUPS_FIRST # delete duplicates first when HISTFILE > HISTSIZE
setopt APPEND_HISTORY # ignore duplicate commands in history list
setopt HIST_FIND_NO_DUPS # when searching history don't display results already cycled through twice
setopt HIST_IGNORE_SPACE # ignore commands that start with space
setopt HIST_VERIFY # show command with history expansion to user before running it
setopt SHARE_HISTORY # shares history across multiple zsh sessions, in real time
setopt HIST_IGNORE_ALL_DUPS # do not write commands to history that are duplicates of the previous command
setopt HIST_REDUCE_BLANKS # remove erroneous blanks from commands before appending to history
# create history file
[ -z "${HISTFILE}" ] && HISTFILE="${ZCACHEDIR}/zhistory"