1
0
Fork 0

Update '.zshrc'

This commit is contained in:
MGislv 2022-02-16 18:11:16 +00:00
parent 97e6c1974a
commit 730f496039
1 changed files with 6 additions and 7 deletions

13
.zshrc
View File

@ -27,13 +27,12 @@ zstyle ':completion:*:functions' ignored-patterns '_*'
zstyle ':completion:*' squeeze-slashes true
# History
HISTFILE="$HOME/.zsh/history"
HISTSIZE=10000000
SAVEHIST=$HISTSIZE
setopt hist_ignore_all_dups
HISTFILE="$HOME/.zsh/history"
HISTSIZE=100000000
SAVEHIST=$HISTSIZE
# Prompt theme
#PROMPT='%F{#bf616a}[%f%F{#ebcb8b}%n%f%F{#8fbcbb}@%F{#81a1c1}%m%f %F{#d08770}%B%~%b%f%F{#bf616a}]%f$%f '
precmd() { print -rP "%F{#ebcb8b}%n%f%F{#8fbcbb}@%F{#81a1c1}%m%f %F{#d08770}%B%~%b%f" }
PROMPT=' > '
@ -51,14 +50,14 @@ alias l='ls -Ahl --color=auto'
alias grep='grep --color=auto'
alias vim=nvim
alias vi=nvim
alias cat='bat -p'
alias cat=bat
alias cx=clear
alias mpva='mpv --no-video'
alias gpgsim='gpg -c --no-symkey-cache --cipher-algo AES256 --digest-algo SHA512'
alias updm='sudo reflector --ipv4 --latest 40 --sort rate --save /etc/pacman.d/mirrorlist'
alias clpkc='paccache -rk1 && paccache -ruk0 && pacman -Qtdq | sudo pacman -Rns -'
alias noscreenblanking='xset s off -dpms'
alias youlistformat='yt-dlp --list-formats'
alias ytlistf='yt-dlp --list-formats'
alias gc='gcc -lm -O2 -g -Wall -Wextra'
alias g+='g++ -lm -O2 -g -Wall -Wextra'
alias redscreen='redshift -P -O 4000'
@ -77,7 +76,7 @@ alias tarxzu="tar --owner=root --group=root --use-compress-program='xz -9eT0' -c
alias tarlzu='tarlz --anonymous -9vcf'
# archive
alias 7zu='7z a -t7z -m0=lzma2 -mfb=273 -mmc=1000000000 -md=1536m -mx=9 -ms=on'
alias 7zu='7z a -t7z -m0=lzma2 -mfb=273 -md=1536m -mx=9 -ms=on'
# export
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp'