some zshrc stuff
This commit is contained in:
parent
7911ff53b8
commit
564708e505
8
.zshrc
8
.zshrc
@ -30,11 +30,18 @@ export MANPAGER="bat -l man -p"
|
|||||||
|
|
||||||
# ZSH percent fix
|
# ZSH percent fix
|
||||||
export PROMPT_EOL_MARK=""
|
export PROMPT_EOL_MARK=""
|
||||||
|
HISTFILE="$XDG_CACHE_HOME/zsh_history"
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
setopt APPEND_HISTORY
|
||||||
|
|
||||||
# FZF
|
# FZF
|
||||||
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
|
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
|
||||||
export FZF_DEFAULT_OPTS="--ansi"
|
export FZF_DEFAULT_OPTS="--ansi"
|
||||||
|
|
||||||
|
# FZF history
|
||||||
|
source <(fzf --zsh)
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias please='sudo '
|
alias please='sudo '
|
||||||
@ -58,4 +65,5 @@ alias df="duf"
|
|||||||
alias du="dust"
|
alias du="dust"
|
||||||
alias nom="npm"
|
alias nom="npm"
|
||||||
alias code="codium"
|
alias code="codium"
|
||||||
|
alias lg="lazygit"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user