some zshrc stuff

This commit is contained in:
Niklas Kapelle 2024-09-08 21:55:53 +02:00
parent 7911ff53b8
commit 564708e505
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

8
.zshrc
View File

@ -30,11 +30,18 @@ export MANPAGER="bat -l man -p"
# ZSH percent fix
export PROMPT_EOL_MARK=""
HISTFILE="$XDG_CACHE_HOME/zsh_history"
HISTSIZE=10000
SAVEHIST=10000
setopt APPEND_HISTORY
# FZF
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
export FZF_DEFAULT_OPTS="--ansi"
# FZF history
source <(fzf --zsh)
# Aliases
alias vim="nvim"
alias please='sudo '
@ -58,4 +65,5 @@ alias df="duf"
alias du="dust"
alias nom="npm"
alias code="codium"
alias lg="lazygit"