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"
|
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
|
|
|
|
2023-04-15 05:18:14 +00:00
|
|
|
# Auto run
|
|
|
|
echo "Don't worry I'm here for you <3"
|
2023-04-20 23:21:36 +00:00
|
|
|
eval "$(github-copilot-cli alias -- "$0")" # Setup the github-copilot-cli alias `??`
|
2023-04-15 05:18:14 +00:00
|
|
|
# eval "$(starship init bash)"
|
|
|
|
# eval "$(oh-my-posh init bash --config ~/.config/ohmyposh/1_shell.omp.json)"
|