match NixOS config

This commit is contained in:
2022-05-10 09:47:58 +02:00
parent f0dd0b6289
commit c089f9905c

View File

@@ -1,23 +1,28 @@
autoload -U +X compinit && compinit autoload -U bashcompinit && bashcompinit
autoload -U +X bashcompinit && bashcompinit autoload -U compinit && compinit
autoload -Uz vcs_info autoload -U vcs_info
HISTFILE=${HOME}/.zsh_history HISTFILE=${HOME}/.zsh_history
HISTSIZE=100000 HISTSIZE=100000
SAVEHIST=$HISTSIZE SAVEHIST=$HISTSIZE
setopt completeinword setopt "APPEND_HISTORY"
setopt extended_glob setopt "EXTENDED_HISTORY"
setopt noflowcontrol setopt "HIST_FCNTL_LOCK"
setopt prompt_subst setopt "HIST_IGNORE_ALL_DUPS"
unsetopt nomatch setopt "HIST_IGNORE_SPACE"
setopt "SHARE_HISTORY"
setopt share_history setopt "AUTO_PUSHD"
setopt append_history setopt "COMPLETE_IN_WORD"
setopt extended_history setopt "EXTENDED_GLOB"
setopt histignorealldups setopt "NO_FLOW_CONTROL"
setopt histignorespace setopt "NO_NOMATCH"
setopt histfcntllock setopt "PROMPT_SUBST"
alias :q="exit"
alias ..="cd .."
[[ -x /usr/bin/xdg-open ]] && alias open="xdg-open"
bindkey -e bindkey -e
@@ -75,11 +80,3 @@ precmd () {
preexec () { preexec () {
print -Pn "\e]0;%n@%m: $1\a" print -Pn "\e]0;%n@%m: $1\a"
} }
sshl() {
ssh -N -L ${1}:localhost:${2} $3
}
alias :q="exit"
alias ..="cd .."
[[ -x /usr/bin/xdg-open ]] && alias open="xdg-open"