dotfiles/.bashrc

28 lines
717 B
Bash
Raw Permalink Normal View History

2023-04-15 05:18:14 +00:00
source "$HOME/.config/shell/public-env.sh"
source "$HOME/.config/shell/aliases.sh"
source "$HOME/.config/shell/utils.sh"
2023-05-17 07:14:36 +00:00
source "$HOME/.config/shell/setup.sh"
2022-02-20 15:49:37 +00:00
PS1='[\u@\h \W]\$ '
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#ignore upper and lowercase when TAB completion
bind "set completion-ignore-case on"
#shopt
shopt -s autocd # change to named directory
shopt -s cdspell # autocorrects cd misspellings
shopt -s cmdhist # save multi-line commands in history as single line
shopt -s dotglob
shopt -s histappend # do not overwrite history
shopt -s expand_aliases # expand aliases
2023-04-15 05:18:14 +00:00
# History in cache directory:
HISTSIZE=1000000000
SAVEHIST=1000000000
HISTFILE=~/.shell_history
2022-02-20 15:49:37 +00:00