reindent some files with tabs.
This commit is contained in:
parent
44aa9216c6
commit
29585b4842
|
@ -326,7 +326,7 @@ Thos are functions that provide tab-completions.
|
||||||
```bash
|
```bash
|
||||||
_foo()
|
_foo()
|
||||||
{
|
{
|
||||||
_autocomplete "{foo,bar}"
|
_autocomplete "{foo,bar}"
|
||||||
}
|
}
|
||||||
complete -F _foo foo
|
complete -F _foo foo
|
||||||
```
|
```
|
||||||
|
|
4
.bashrc
4
.bashrc
|
@ -9,12 +9,12 @@ module="${home}/.config/bash/module/*.sh"
|
||||||
|
|
||||||
# src default
|
# src default
|
||||||
if [[ -f /etc/bashrc ]]; then
|
if [[ -f /etc/bashrc ]]; then
|
||||||
source /etc/bashrc
|
source /etc/bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# src custom
|
# src custom
|
||||||
for file in ${module}; do
|
for file in ${module}; do
|
||||||
source "${file}"
|
source "${file}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# alias to reload
|
# alias to reload
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
# check if this is already a git repo.
|
# check if this is already a git repo.
|
||||||
if [[ -d ".git" ]]; then
|
if [[ -d ".git" ]]; then
|
||||||
echo "Found the .git directory. Already initialized?"
|
echo "Found the .git directory. Already initialized?"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# sync.
|
# sync.
|
||||||
|
|
54
.ssh/config
54
.ssh/config
|
@ -1,44 +1,44 @@
|
||||||
Host home
|
Host home
|
||||||
HostName 192.168.1.2
|
HostName 192.168.1.2
|
||||||
User root
|
User root
|
||||||
Port 22143
|
Port 22143
|
||||||
|
|
||||||
Host desktop
|
Host desktop
|
||||||
Hostname 192.168.1.3
|
Hostname 192.168.1.3
|
||||||
User root
|
User root
|
||||||
Port 22143
|
Port 22143
|
||||||
|
|
||||||
Host work
|
Host work
|
||||||
Hostname 192.168.1.5
|
Hostname 192.168.1.5
|
||||||
User root
|
User root
|
||||||
Port 22143
|
Port 22143
|
||||||
|
|
||||||
Host pi
|
Host pi
|
||||||
Hostname 192.168.1.6
|
Hostname 192.168.1.6
|
||||||
User root
|
User root
|
||||||
Port 22143
|
Port 22143
|
||||||
|
|
||||||
Host dasha
|
Host dasha
|
||||||
HostName 192.168.1.7
|
HostName 192.168.1.7
|
||||||
User root
|
User root
|
||||||
Port 22143
|
Port 22143
|
||||||
|
|
||||||
Host laptop
|
Host laptop
|
||||||
Hostname 192.168.1.9
|
Hostname 192.168.1.9
|
||||||
User root
|
User root
|
||||||
Port 22143
|
Port 22143
|
||||||
|
|
||||||
Host fsight
|
Host fsight
|
||||||
Hostname 10.30.217.25
|
Hostname 10.30.217.25
|
||||||
User root
|
User root
|
||||||
Port 22
|
Port 22
|
||||||
|
|
||||||
Host vpn
|
Host vpn
|
||||||
Hostname 194.113.233.38
|
Hostname 194.113.233.38
|
||||||
User root
|
User root
|
||||||
Port 22143
|
Port 22143
|
||||||
|
|
||||||
Host fmpmaven
|
Host fmpmaven
|
||||||
Hostname 10.30.22.10
|
Hostname 10.30.22.10
|
||||||
User root
|
User root
|
||||||
Port 22
|
Port 22
|
||||||
|
|
Reference in a new issue