aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/sh/shinit
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:28 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:28 +0100
commit15bc23ba85f714797f3496ad6f7460877f974253 (patch)
tree45f5bd2d1256654c53393a552324f35f179aa982 /home/.config/sh/shinit
parentbf32d51f8e780dfb52fbbd080eef5e110232f065 (diff)
downloaddotfiles-15bc23ba85f714797f3496ad6f7460877f974253.tar.gz
dotfiles-15bc23ba85f714797f3496ad6f7460877f974253.tar.bz2
dotfiles-15bc23ba85f714797f3496ad6f7460877f974253.zip
chore: delete obsolete shell config files
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.).
Diffstat (limited to 'home/.config/sh/shinit')
-rw-r--r--home/.config/sh/shinit41
1 files changed, 0 insertions, 41 deletions
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