[shell-common] Cleanup tabs vs spaces

This commit is contained in:
2021-07-15 10:32:17 +01:00
parent 10e33d3133
commit b3678f700f
9 changed files with 45 additions and 47 deletions

View File

@@ -2,5 +2,3 @@
if [ -f $HOME/.bashrc ]; then
source $HOME/.bashrc
fi

View File

@@ -2,15 +2,15 @@
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
. /etc/bashrc
fi
# Source shell common
for f in ~/.config/shell-common/*.sh; do
source $f;
for f in ~/.config/shell-common/*.sh; do
source $f
done
# Source bash specific files
for f in ~/.config/bash/*.bash; do
source $f;
for f in ~/.config/bash/*.bash; do
source $f
done

View File

@@ -1,2 +1,2 @@
# SSH completion based on ssh config
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config* | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh;
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config* | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh