From de474083cd867dff60648a277fc795a3466320b6 Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Tue, 12 Nov 2024 15:14:27 -0500 Subject: [PATCH] remove default bash configs --- .bash_logout | 3 --- .bashrc##default | 57 ----------------------------------------------- .bashrc##o.Darwin | 1 - .profile | 4 ++-- 4 files changed, 2 insertions(+), 63 deletions(-) delete mode 100644 .bash_logout delete mode 100644 .bashrc##default delete mode 100644 .bashrc##o.Darwin diff --git a/.bash_logout b/.bash_logout deleted file mode 100644 index 0e4e4f1..0000000 --- a/.bash_logout +++ /dev/null @@ -1,3 +0,0 @@ -# -# ~/.bash_logout -# diff --git a/.bashrc##default b/.bashrc##default deleted file mode 100644 index 29a3533..0000000 --- a/.bashrc##default +++ /dev/null @@ -1,57 +0,0 @@ -# ~/.bashrc: executed by bash(1) for non-login shells. -# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) -# for examples - -# If not running interactively, don't do anything -case $- in - *i*) ;; - *) return;; -esac - -PATH=$PATH:"~/.local/bin/" -export EDITOR='nvim' -export GPG_TTY=$(tty) -complete -F _todo t - -HISTCONTROL=ignoreboth -HISTSIZE=100000 -HISTFILESIZE=50000 - -#force_color_prompt=yes - -shopt -s checkwinsize -shopt -s histappend - -case "$TERM" in - xterm-color|*-256color) color_prompt=yes;; -esac - -if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi -fi - -if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' -else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' -fi -unset color_prompt force_color_prompt - -[ -f ~/.aliases ] && . ~/.aliases - -if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - elif [ -f /etc/bash_completion ]; then - . /etc/bash_completion - fi -fi - -#. ~/code/bashPrompt/prompt.sh diff --git a/.bashrc##o.Darwin b/.bashrc##o.Darwin deleted file mode 100644 index b6ee6e8..0000000 --- a/.bashrc##o.Darwin +++ /dev/null @@ -1 +0,0 @@ -eval "$(starship init bash)" diff --git a/.profile b/.profile index 7fb56e2..0d393ea 100644 --- a/.profile +++ b/.profile @@ -15,6 +15,6 @@ if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi -if [ -f "$HOME/.bash_aliases" ]; then - . "$HOME/.bash_aliases" +if [ -f "$HOME/.aliases" ]; then + . "$HOME/.aliases" fi