Compare commits
No commits in common. "a36c80eb72af955422ee4ee227718af5769c380f" and "5b7381e68287e1d51c2edbfcb0c03a9b8b866d1d" have entirely different histories.
a36c80eb72
...
5b7381e682
@ -5,7 +5,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# To check
|
# ZSH setup
|
||||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||||
# DISABLE_AUTO_UPDATE="true"
|
# DISABLE_AUTO_UPDATE="true"
|
||||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||||
@ -25,13 +25,11 @@ ZSH=~/.oh-my-zsh/
|
|||||||
ZSH=/usr/share/oh-my-zsh/
|
ZSH=/usr/share/oh-my-zsh/
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# Zsh history
|
# Lines configured by zsh-newuser-install
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
SAVEHIST=10000
|
SAVEHIST=1000
|
||||||
|
# use invalid command as a directory if applicable and cd to it
|
||||||
# Zsh options
|
|
||||||
# Use invalid command as a directory if applicable and cd to it
|
|
||||||
setopt autocd
|
setopt autocd
|
||||||
# Treat the ‘#’, ‘~’ and ‘^’ characters as part of patterns for filename generation, etc. (An initial unquoted ‘~’ always produces named directory expansion.)
|
# Treat the ‘#’, ‘~’ and ‘^’ characters as part of patterns for filename generation, etc. (An initial unquoted ‘~’ always produces named directory expansion.)
|
||||||
setopt extendedglob
|
setopt extendedglob
|
||||||
@ -41,11 +39,7 @@ setopt nomatch
|
|||||||
setopt notify
|
setopt notify
|
||||||
# Beep on error
|
# Beep on error
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
|
|
||||||
# Bindings
|
|
||||||
bindkey -v
|
bindkey -v
|
||||||
# This fixed "can't backspace after switching from normal to insert mode"
|
|
||||||
bindkey -v '^?' backward-delete-char
|
|
||||||
# must be after -v
|
# must be after -v
|
||||||
# enable backwards search with ctrl-r
|
# enable backwards search with ctrl-r
|
||||||
bindkey '^R' history-incremental-search-backward
|
bindkey '^R' history-incremental-search-backward
|
||||||
@ -83,8 +77,6 @@ if ! zgenom saved; then
|
|||||||
zgenom save
|
zgenom save
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# this supposedly fixes the slow pasting into shell
|
# this supposedly fixes the slow pasting into shell
|
||||||
# zstyle ':bracketed-paste-magic' active-widgets '.self-*'
|
# zstyle ':bracketed-paste-magic' active-widgets '.self-*'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user