Skip to content

Instantly share code, notes, and snippets.

@Dema
Created May 31, 2022 09:20
Show Gist options
  • Save Dema/100ff3f15456b72451c971484535672f to your computer and use it in GitHub Desktop.
Save Dema/100ff3f15456b72451c971484535672f to your computer and use it in GitHub Desktop.
setopt append_history
setopt extended_history # save timestamp
#setopt inc_append_history # add history immediately after typing a command
setopt no_hist_beep
setopt hist_ignore_all_dups
setopt hist_expire_dups_first
setopt hist_save_no_dups
setopt hist_find_no_dups
# Use the same history file for all sessions, conflicts with inc_append_history
setopt share_history
# Let the user edit the command line after history expansion (e.g. !ls) instead of immediately running it
setopt hist_verify
setopt extended_glob
setopt noequals
setopt nobeep
setopt nocorrect
setopt autocd
setopt nohup
setopt hash_cmds
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
WORDCHARS=':*?_-.[]~&;!#$%^(){}<>|' #Необходимо для возможности удаления по-словам части пути
zstyle ':completion:*' format "%{$fg[green]%}--- %d ---%f"
# group completion list
zstyle ':completion:*' group-name ''
# # use cache
zstyle ':completion:*' use-cache yes
# # use detailed completion
zstyle ':completion:*' verbose yes
export QT_LOGGING_RULES='*=false'""
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
export FZF_DEFAULT_COMMAND='(git ls-files --others --cached --exclude-standard || \
find . -path "*/\.*" -prune -o -type f -print -o -type l -print | \
sed s/^..//) 2> /dev/null'
chpwd_functions+=(__vte_osc7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment