chore(rc,profile,aliases,completion,libs,functions): Remove shebangs from sourced files

These files are always sourced (never executed directly), so the
#!/bin/bash shebang is inert and misleading. Drop it consistently
across rc.d/*, profile.d/*, and aliases.d/*.
This commit is contained in:
2026-08-22 00:52:02 +02:00
parent 7000bde368
commit 6a53ee36fd
77 changed files with 0 additions and 153 deletions
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
if (command -v bat &>/dev/null); then
alias cat=bat
fi
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
if (which colordiff &> /dev/null)
then
alias diff=colordiff
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Colors
alias ls='ls --color=auto'
alias grep='grep --color=auto'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Fun
alias matrix='tr -c "[:digit:]" " " < /dev/urandom | dd cbs=$COLUMNS conv=unblock | GREP_COLOR="1;32" grep --color "[^ ]"'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Cd
alias cdup='cd ..'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Git
if [ -x /usr/bin/git ]; then
alias gs='git status'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
if (command -v 'gopass' && ! command -v pass ) &> /dev/null
then
alias pass='gopass'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# [ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
if [ -n "${KITTY_INSTALLATION_DIR}" ]; then
alias ssh="kitty +kitten ssh"
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
if (command -v kubectl &>/dev/null); then
# create some usefull aliases
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
if (command -v lsd &> /dev/null)
then
alias ls='lsd'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
if (which mc &> /dev/null); then
if [ "$TERM" = "rxvt-unicode" ]; then
alias mc="TERM=rxvt-unicode-256color mc"
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Vim Editor
if [ -x ~/AppImages/nvim.appimage ]
then
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
if (which ovs-appctl &> /dev/null); then alias appctl='sudo ovs-appctl'; fi
if (which ovs-vsctl &> /dev/null); then alias vsctl='sudo ovs-vsctl'; fi
if (which ovs-ofctl &> /dev/null); then alias ofctl='sudo ovs-ofctl'; fi
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Power
alias reboot='sudo reboot'
alias halt='sudo halt'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Security
alias rm='rm -i'
alias mv='mv -i'
-2
View File
@@ -1,4 +1,2 @@
#!/bin/bash
# SSH
alias ssh!='ssh -q -oStrictHostKeyChecking=no -oIdentitiesOnly=yes'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# System tools
if [ -f /sbin/ifconfig ] && [ -x /sbin/ifconfig ]; then alias ifconfig='/sbin/ifconfig'; fi
if [ -f /sbin/ip ] && [ -x /sbin/ip ]; then alias ip='/sbin/ip'; fi
-2
View File
@@ -1,3 +1 @@
#!/bin/bash
alias tree='tree -A -C'
-2
View File
@@ -1,5 +1,3 @@
#!/bin/bash
# Vim Editor
if (command -v nvim &> /dev/null)
then
-2
View File
@@ -1,4 +1,2 @@
#!/bin/bash
if (which zfs &> /dev/null); then alias zfs='sudo zfs'; fi
if (which zpool &> /dev/null); then alias zpool='sudo zpool'; fi