mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
[shell-common] Cleanup tabs vs spaces
This commit is contained in:
@@ -2,5 +2,3 @@
|
||||
if [ -f $HOME/.bashrc ]; then
|
||||
source $HOME/.bashrc
|
||||
fi
|
||||
|
||||
|
||||
|
||||
10
bash/.bashrc
10
bash/.bashrc
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user