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/.config/sh/shinit | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 home/.config/sh/shinit (limited to 'home/.config/sh/shinit') diff --git a/home/.config/sh/shinit b/home/.config/sh/shinit deleted file mode 100644 index 404722e..0000000 --- a/home/.config/sh/shinit +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env sh -# If not running interactively, don't do anything -case $- in - *i*) stty -ixon - ;; - *) return - ;; -esac - -# shellcheck source=/dev/null -[ -r ~/.config/sh/envrc ] && . ~/.config/sh/envrc - -gpg-connect-agent updatestartuptty /bye >/dev/null - -_fzf_compgen_path() { - eval "$FZF_DEFAULT_COMMAND" "$1" -} - -_fzf_compgen_dir() { - eval "$FZF_DIRS_COMMAND" "$1" -} - -safesource "$XDG_CONFIG_HOME"/sh/aliases - -# numlock -tput smkx - -PS1="[\$?]\$ " -export PS1 - -if [ "$TERM" = "linux" ]; then - _SEDCMD='s/.*\*color\([0-9]\{1,\}\).*#\([0-9a-fA-F]\{6\}\).*/\1 \2/p' - mkfifo mypipe - sed -n "$_SEDCMD" "$HOME"/.Xresources | awk '$1 < 16 {printf "\\e]P%X%s", $1, $2}' > mypipe & - while IFS= read -r i - do - printf "%s" "$i" - done < mypipe - rm mypipe - clear -fi -- cgit v1.2.3-70-g09d2