@@ -5,7 +5,7 @@ export PATH="$HOME/bin:$PATH";
5
5
# * ~/.path can be used to extend `$PATH`.
6
6
# * ~/.extra can be used for other settings you don’t want to commit.
7
7
for file in ~ /.{path,bash_prompt,exports,aliases,functions,extra}; do
8
- [ -r " $file " ] && [ -f " $file " ] && source " $file " ;
8
+ [ -r " $file " ] && [ -f " $file " ] && source " $file " ;
9
9
done ;
10
10
unset file;
11
11
@@ -22,19 +22,19 @@ shopt -s cdspell;
22
22
# * `autocd`, e.g. `**/qux` will enter `./foo/bar/baz/qux`
23
23
# * Recursive globbing, e.g. `echo **/*.txt`
24
24
for option in autocd globstar; do
25
- shopt -s " $option " 2> /dev/null;
25
+ shopt -s " $option " 2> /dev/null;
26
26
done ;
27
27
28
28
# Add tab completion for many Bash commands
29
29
if which brew > /dev/null && [ -f " $( brew --prefix) /share/bash-completion/bash_completion" ]; then
30
- source " $( brew --prefix) /share/bash-completion/bash_completion" ;
30
+ source " $( brew --prefix) /share/bash-completion/bash_completion" ;
31
31
elif [ -f /etc/bash_completion ]; then
32
- source /etc/bash_completion;
32
+ source /etc/bash_completion;
33
33
fi ;
34
34
35
35
# Enable tab completion for `g` by marking it as an alias for `git`
36
36
if type _git & > /dev/null && [ -f /usr/local/etc/bash_completion.d/git-completion.bash ]; then
37
- complete -o default -o nospace -F _git g;
37
+ complete -o default -o nospace -F _git g;
38
38
fi ;
39
39
40
40
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards
0 commit comments