zsh huge history and local confs
This commit is contained in:
parent
00e263c7a5
commit
8216655bb2
|
@ -1,7 +1,7 @@
|
||||||
### ENVVARS
|
### ENVVARS
|
||||||
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:~/.local/bin:~/.cargo/bin
|
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:~/.local/bin:~/.cargo/bin
|
||||||
source ~/.path.zsh
|
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
export editor=vim
|
||||||
|
|
||||||
### Aliases
|
### Aliases
|
||||||
alias l="ls --color -lah"
|
alias l="ls --color -lah"
|
||||||
|
@ -27,10 +27,10 @@ export ZSH=$HOME/.zsh-server
|
||||||
export HISTFILE=~/.zsh_history
|
export HISTFILE=~/.zsh_history
|
||||||
|
|
||||||
# How many commands zsh will load to memory.
|
# How many commands zsh will load to memory.
|
||||||
export HISTSIZE=10000
|
export HISTSIZE=100000
|
||||||
|
|
||||||
# How many commands history will save on file.
|
# How many commands history will save on file.
|
||||||
export SAVEHIST=10000
|
export SAVEHIST=100000
|
||||||
|
|
||||||
# History won't save duplicates.
|
# History won't save duplicates.
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
@ -68,3 +68,6 @@ export FZF_CTRL_R_OPTS='--no-sort --exact'
|
||||||
|
|
||||||
### --- nnn Config ------------------------------------
|
### --- nnn Config ------------------------------------
|
||||||
source ~/.local/share/nnn/quitcd/quitcd.bash_zsh
|
source ~/.local/share/nnn/quitcd/quitcd.bash_zsh
|
||||||
|
|
||||||
|
### --- local Config ------------------------------------
|
||||||
|
source ~/.local.zsh
|
||||||
|
|
|
@ -7,8 +7,8 @@ fi
|
||||||
|
|
||||||
### ENVVARS
|
### ENVVARS
|
||||||
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:~/.local/bin:~/.cargo/bin
|
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:~/.local/bin:~/.cargo/bin
|
||||||
source ~/.path.zsh
|
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
export editor=nvim
|
||||||
|
|
||||||
### Aliases
|
### Aliases
|
||||||
alias l="lsd -lah"
|
alias l="lsd -lah"
|
||||||
|
@ -36,10 +36,10 @@ export ZSH=$HOME/.zsh
|
||||||
export HISTFILE=~/.zsh_history
|
export HISTFILE=~/.zsh_history
|
||||||
|
|
||||||
# How many commands zsh will load to memory.
|
# How many commands zsh will load to memory.
|
||||||
export HISTSIZE=10000
|
export HISTSIZE=100000
|
||||||
|
|
||||||
# How many commands history will save on file.
|
# How many commands history will save on file.
|
||||||
export SAVEHIST=10000
|
export SAVEHIST=100000
|
||||||
|
|
||||||
# History won't save duplicates.
|
# History won't save duplicates.
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
@ -78,3 +78,6 @@ export FZF_CTRL_R_OPTS='--no-sort --exact'
|
||||||
|
|
||||||
### --- nnn Config ------------------------------------
|
### --- nnn Config ------------------------------------
|
||||||
source ~/.local/share/nnn/quitcd/quitcd.bash_zsh
|
source ~/.local/share/nnn/quitcd/quitcd.bash_zsh
|
||||||
|
|
||||||
|
### --- local Config ------------------------------------
|
||||||
|
source ~/.local.zsh
|
||||||
|
|
Loading…
Reference in New Issue