Merge branch 'master' of https://github.com/nullmedium/dotfiles
This commit is contained in:
2
rcrc
2
rcrc
@@ -1,3 +1,3 @@
|
|||||||
EXCLUDES="README.md LICENSE .git .gitignore"
|
EXCLUDES="README.md LICENSE .git .gitignore"
|
||||||
DOTFILES_DIRS="$HOME/.dotfiles"
|
DOTFILES_DIRS="$HOME/.dotfiles"
|
||||||
SYMLINK_DIRS="zsh bash shell-common"
|
SYMLINK_DIRS="bash shell-common"
|
||||||
@@ -1,6 +1,17 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
# Zsh configuration file
|
# Zsh configuration file
|
||||||
|
|
||||||
|
# History configuration for persistent history across tmux sessions
|
||||||
|
export HISTFILE="$HOME/.zsh_history"
|
||||||
|
export HISTSIZE=50000
|
||||||
|
export SAVEHIST=50000
|
||||||
|
setopt SHARE_HISTORY # Share history between all sessions
|
||||||
|
setopt HIST_IGNORE_ALL_DUPS # Remove older duplicate entries from history
|
||||||
|
setopt HIST_FIND_NO_DUPS # Don't display duplicates when searching history
|
||||||
|
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks from history items
|
||||||
|
setopt INC_APPEND_HISTORY # Write to history file immediately, not when shell exits
|
||||||
|
setopt HIST_VERIFY # Don't execute immediately upon history expansion
|
||||||
|
|
||||||
# Source common profile
|
# Source common profile
|
||||||
[ -f "$HOME/.shell-common/profile.common" ] && source "$HOME/.shell-common/profile.common"
|
[ -f "$HOME/.shell-common/profile.common" ] && source "$HOME/.shell-common/profile.common"
|
||||||
|
|
||||||
Reference in New Issue
Block a user