mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 01:32:30 +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
|
||||
|
||||
|
||||
|
||||
@@ -7,10 +7,10 @@ fi
|
||||
|
||||
# Source shell common
|
||||
for f in ~/.config/shell-common/*.sh; do
|
||||
source $f;
|
||||
source $f
|
||||
done
|
||||
|
||||
# Source bash specific files
|
||||
for f in ~/.config/bash/*.bash; do
|
||||
source $f;
|
||||
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
|
||||
|
||||
@@ -45,7 +45,7 @@ function commit-pkm() {
|
||||
if [ -d $HOME/Documents/pkm ]; then
|
||||
prevdir=$PWD
|
||||
cd ~/Documents/pkm
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
if [[ $(git status --porcelain) ]]; then
|
||||
echo "Changes detected, commiting..."
|
||||
git add -A && git commit -a -m 'Manual savepoint'
|
||||
else
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Source shell common
|
||||
for f in ~/.config/shell-common/*.sh; do
|
||||
source $f;
|
||||
source $f
|
||||
done
|
||||
|
||||
# Source zsh specific files
|
||||
for f in ~/.config/zsh/*.zsh; do
|
||||
source $f;
|
||||
source $f
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user