remove default bash configs

This commit is contained in:
2024-11-12 15:14:27 -05:00
parent 3103ec163d
commit de474083cd
4 changed files with 2 additions and 63 deletions
-3
View File
@@ -1,3 +0,0 @@
#
# ~/.bash_logout
#
-57
View File
@@ -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
-1
View File
@@ -1 +0,0 @@
eval "$(starship init bash)"
+2 -2
View File
@@ -15,6 +15,6 @@ if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.local/bin:$PATH"
fi fi
if [ -f "$HOME/.bash_aliases" ]; then if [ -f "$HOME/.aliases" ]; then
. "$HOME/.bash_aliases" . "$HOME/.aliases"
fi fi