aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bash-completion/bash-aliases6
-rw-r--r--bash/bashrc4
2 files changed, 5 insertions, 5 deletions
diff --git a/bash-completion/bash-aliases b/bash-completion/bash-aliases
index 92aab19..00f8341 100644
--- a/bash-completion/bash-aliases
+++ b/bash-completion/bash-aliases
@@ -10,7 +10,7 @@ recomplete () {
if test -f /usr/share/bash-completion/bash_completion && ! shopt -oq posix; then
. /usr/share/bash-completion/bash_completion
fi
- if test -d ~/.local/bash_completion.d ] && ! shopt -oq posix; then
+ if test -d ~/.local/bash_completion.d && ! shopt -oq posix; then
for __completionscript in ~/.local/bash_completion.d/*; do
if test -r "${__completionscript}"; then
. "${__completionscript}"
@@ -20,8 +20,8 @@ recomplete () {
fi
if test -d ~/.local/share/bash_completion.d && ! shopt -oq posix; then
for __completionscript in ~/.local/share/bash_completion.d/*; do
- if [ -r "${__completionscript}" ]; then
- . "${__completionscript}"
+ if test -r "${__completionscript}"; then
+ . "${__completionscript}"
fi
done
unset __completionscript
diff --git a/bash/bashrc b/bash/bashrc
index a500a9d..26a319a 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -32,8 +32,8 @@ if test -r /etc/bash_opt; then
. /etc/bash_opt
fi
-~/.config/bash/bashrc_palette
-~/.config/bash/bashrc_prompt
+. ~/.config/bash/bashrc_palette
+. ~/.config/bash/bashrc_prompt
for __script in ~/.config/bash/bashrc.d/*; do
if test -r "${__script}"; then