mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
(zsh): move history options, and remove skli function
This commit is contained in:
parent
40a80a7d4d
commit
c9a080f0ca
15
.zshrc
15
.zshrc
|
@ -5,8 +5,12 @@ esac
|
|||
|
||||
[ -f "$HOME/.ghcup/env" ] && . "$HOME/.ghcup/env"
|
||||
|
||||
export HISTFILE="$XDG_STATE_HOME/zsh/history"
|
||||
|
||||
export HISTSIZE=100000
|
||||
export HISTFILESIZE="$HISTSIZE"
|
||||
|
||||
setopt EXTENDED_HISTORY
|
||||
setopt INC_APPEND_HISTORY
|
||||
setopt SHARE_HISTORY
|
||||
setopt HIST_EXPIRE_DUPS_FIRST
|
||||
setopt HIST_SAVE_NO_DUPS
|
||||
|
@ -14,9 +18,6 @@ setopt HIST_VERIFY
|
|||
setopt APPEND_HISTORY
|
||||
setopt HIST_NO_STORE
|
||||
|
||||
HISTFILESIZE=100000
|
||||
HISTCONTROL="ignoredups"
|
||||
|
||||
alias v='nvim'
|
||||
alias vim='nvim'
|
||||
|
||||
|
@ -34,11 +35,7 @@ alias wget="wget --hsts-file='$XDG_DATA_HOME/wget-hsts'"
|
|||
alias ipp='curl https://ipinfo.io/ip && echo'
|
||||
alias ipl='monitors local_ip'
|
||||
|
||||
skli() {
|
||||
[ -f config.h ] && rm config.h
|
||||
make || return
|
||||
doas make install
|
||||
}
|
||||
## Initialization ##
|
||||
|
||||
PROMPT=$'%{\e[1;32m%}%n@%M%{\e[1;34m%} %~ %%%{\e[0m%} '
|
||||
|
||||
|
|
Loading…
Reference in a new issue