Zshrc fixes for mac

This commit is contained in:
2026-03-12 13:16:14 +05:30
parent 20382f7e99
commit 345e0e25ea
2 changed files with 36 additions and 28 deletions

View File

@@ -9,17 +9,22 @@ esac
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
if [[ -n "$BASH_VERSION" ]]; then
shopt -s histappend
eval "$(starship init bash)"
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
fi
# append to the history file, don't overwrite it
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
@@ -137,9 +142,6 @@ export MANROFFOPT="-c"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# --------------------------------- Starship --------------------------------------
if [[ -n "$BASH_VERSION" ]]; then
eval "$(starship init bash)"
fi
# colorscript -r
# neofetch