From 15bc23ba85f714797f3496ad6f7460877f974253 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:28 +0100 Subject: chore: delete obsolete shell config files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove files made redundant by the zsh-only rewrite: - home/.profile (POSIX login shell — replaced by .zprofile) - home/.bashrc (bash interactive — no longer needed) - home/.bash_logout (bash logout — no longer needed) - home/.config/sh/envrc (shared env vars — merged into .zprofile) - home/.config/sh/aliases (shared aliases — merged into .zshrc) - home/.config/sh/shinit (POSIX interactive init — merged into .zshrc) The inputrc file is kept for readline-based tools (python REPL, etc.). --- home/.bashrc | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 home/.bashrc (limited to 'home/.bashrc') diff --git a/home/.bashrc b/home/.bashrc deleted file mode 100644 index 2a65933..0000000 --- a/home/.bashrc +++ /dev/null @@ -1,53 +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 -case $- in - *i*) stty -ixon - ;; - *) return - ;; -esac - -# shellcheck source=/dev/null -[ -r ~/.config/sh/shinit ] && . ~/.config/sh/shinit - -safesource /usr/share/git/completion/git-prompt.sh - -PS1="\[\033[38;1;32m\]\u\[$(tput sgr0)\]\[\033[38;1;37m\]@\[$(tput sgr0)\]\[\033[38;1;36m\]\h\[$(tput sgr0)\]\[\033[38;1;37m\]:\[$(tput sgr0)\]\[\033[38;0;33m\]\w\[$(tput sgr0)\]$(__git_ps1 " (%s)")[\[\033[38;0;31m\]\$?\[$(tput sgr0)\]]\$ " -export PS1 - - -HISTFILE="$XDG_CACHE_HOME"/bash_history -# don't put duplicate lines or lines starting with space in the history. -# See bash(1) for more options -HISTCONTROL=ignoreboth - -# append to the history file, don't overwrite it -shopt -s histappend - -# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=50000 -HISTFILESIZE=50000 - -# check the window size after each command and, if necessary, -# update the values of LINES and COLUMNS. -shopt -s checkwinsize - -# If set, the pattern "**" used in a pathname expansion context will -# match all files and zero or more directories and subdirectories. -#shopt -s globstar - -# enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). -if ! shopt -oq posix; then - safesource /usr/share/bash-completion/bash_completion -fi - -shopt -s autocd - -bind '"\eh": "\C-a\eb\ed\C-y\e#man \C-y\C-m\C-p\C-p\C-a\C-d\C-e"' - -eval "$(fzf --bash)" - -complete -F _command doas -- cgit v1.2.3-70-g09d2