removed most unused stuff (bash will be the minimal config, zsh the extendet)

This commit is contained in:
pika 2025-01-05 20:04:44 +01:00
parent 33ba7df9ef
commit 38a0834f40
13 changed files with 192 additions and 1125 deletions

12
.bash/ssh Normal file
View file

@ -0,0 +1,12 @@
_ssh()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$(grep '^Host' ~/.ssh/config ~/.ssh/config.d/* 2>/dev/null | grep -v '[?*]' | cut -d ' ' -f 2-)
COMPREPLY=( $(compgen -W "$opts" -- ${cur}) )
return 0
}
complete -F _ssh ssh