Zshrc fixes for mac
This commit is contained in:
20
sh_personal
20
sh_personal
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user