1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 08:05:01 +00:00

set HISTFILESIZE and HISTSIZE to INT_MAX

This commit is contained in:
Nebel 2022-08-20 01:11:14 +09:00
parent 95cd3eb90b
commit d1514ba0e1

View file

@ -2,8 +2,8 @@
[[ -f /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
[[ "$TERM" == xterm-256color ]] && PS1='\[\e]0;\u@\h: \w\a\]'
HISTCONTROL=ignoreboth:erasedups
HISTFILESIZE=2000000
HISTSIZE=2000000
HISTFILESIZE=$((0x7fffffff))
HISTSIZE=$((0x7fffffff))
PROMPT_COMMAND='[[ $_PWD == $PWD ]] || { _PWD=$PWD; ls; }'
PS1=$PS1'\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
PS1=${PS1%'\$ '}'$(__git_ps1 " \[\033[32m\](%s)\[\033[00m\]")\n\$ '