From ed8033e04fe6019b4a634f6b29697d7605aaddd1 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Wed, 22 May 2024 19:28:43 +0200 Subject: Drop obsolete scripts, as they got moved do UnspecGarb. --- src/bash/_bashrc | 59 ------------------------------------------------------- src/bash/_inputrc | 4 ---- 2 files changed, 63 deletions(-) delete mode 100644 src/bash/_bashrc delete mode 100644 src/bash/_inputrc diff --git a/src/bash/_bashrc b/src/bash/_bashrc deleted file mode 100644 index 3b8a9ea..0000000 --- a/src/bash/_bashrc +++ /dev/null @@ -1,59 +0,0 @@ - -WINDOOF=$(if [ -d /c/Windows ]; then echo true; else echo false; fi) - -# Do NOT store duplicates in history -# Do NOT store in history if starts-with-space -HISTCONTROL=ignoreboth - -if [ $SHLVL -eq 1 ]; then - set -o ignoreeof # Require explicit 'exit' cmd to exit shell. -else - set +o ignoreeof -fi - -export PS1='\033[1;32m[\033[0m$? \033[1;30m\u\033[0m\033[1;32m@\033[1;30m\h \033[1;34m\w\033[1;32m]\033[0m\n\$ ' - -# Add global node modules to path -#PATH=/opt/node-6.10.1/lib/node_modules/.bin:$PATH -# bash completion for npm -#source /opt/node-6.10.1/etc/npm-completion.sh - -# Custom bin -if [ -d ~/.bin ]; then - export PATH=~/.bin:$PATH -fi - -alias la='ls -A' -#alias docker='sudo docker' - -# Load (aka source) user scoped settings. -#. ~/.config/user/setup-env - -############################################################################### -# -# Auto-launching ssh-agent on Git for Windoofs -# (See: https://docs.github.com/en/github/authenticating-to-github/working-with-ssh-key-passphrases#auto-launching-ssh-agent-on-git-for-windows) -# -if $WINDOOF; then - env=~/.ssh/agent.env - - agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } - agent_start () { (umask 077; ssh-agent >| "$env"); . "$env" >| /dev/null ; } - - agent_load_env - - # agent_run_state: 0=agent running w/ key; 1=agent w/o key; 2= agent not running - agent_run_state=$(ssh-add -l >| /dev/null 2>&1; echo $?) - - if [ ! "$SSH_AUTH_SOCK" ] || [ $agent_run_state = 2 ]; then - agent_start - #ssh-add - #elif [ "$SSH_AUTH_SOCK" ] && [ $agent_run_state = 1 ]; then - # ssh-add - fi - - unset env -fi -# -############################################################################### - diff --git a/src/bash/_inputrc b/src/bash/_inputrc deleted file mode 100644 index df82709..0000000 --- a/src/bash/_inputrc +++ /dev/null @@ -1,4 +0,0 @@ - -set colored-completion-prefix on -set colored-stats off - -- cgit v1.1