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"
|
[ -f "$HOME/.ghcup/env" ] && . "$HOME/.ghcup/env"
|
||||||
|
|
||||||
|
export HISTFILE="$XDG_STATE_HOME/zsh/history"
|
||||||
|
|
||||||
|
export HISTSIZE=100000
|
||||||
|
export HISTFILESIZE="$HISTSIZE"
|
||||||
|
|
||||||
setopt EXTENDED_HISTORY
|
setopt EXTENDED_HISTORY
|
||||||
setopt INC_APPEND_HISTORY
|
|
||||||
setopt SHARE_HISTORY
|
setopt SHARE_HISTORY
|
||||||
setopt HIST_EXPIRE_DUPS_FIRST
|
setopt HIST_EXPIRE_DUPS_FIRST
|
||||||
setopt HIST_SAVE_NO_DUPS
|
setopt HIST_SAVE_NO_DUPS
|
||||||
|
@ -14,9 +18,6 @@ setopt HIST_VERIFY
|
||||||
setopt APPEND_HISTORY
|
setopt APPEND_HISTORY
|
||||||
setopt HIST_NO_STORE
|
setopt HIST_NO_STORE
|
||||||
|
|
||||||
HISTFILESIZE=100000
|
|
||||||
HISTCONTROL="ignoredups"
|
|
||||||
|
|
||||||
alias v='nvim'
|
alias v='nvim'
|
||||||
alias vim='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 ipp='curl https://ipinfo.io/ip && echo'
|
||||||
alias ipl='monitors local_ip'
|
alias ipl='monitors local_ip'
|
||||||
|
|
||||||
skli() {
|
## Initialization ##
|
||||||
[ -f config.h ] && rm config.h
|
|
||||||
make || return
|
|
||||||
doas make install
|
|
||||||
}
|
|
||||||
|
|
||||||
PROMPT=$'%{\e[1;32m%}%n@%M%{\e[1;34m%} %~ %%%{\e[0m%} '
|
PROMPT=$'%{\e[1;32m%}%n@%M%{\e[1;34m%} %~ %%%{\e[0m%} '
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue