aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-20 11:30:40 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-20 11:30:40 +1200
commitc549fd2782547ebf37e0b7c08b70dba76b1a5eef (patch)
tree855535dba3539cb0d6ac9143af69dab3827cabd2 /bash/bashrc
parentUse arithmetic expression for argument count (diff)
downloaddotfiles-c549fd2782547ebf37e0b7c08b70dba76b1a5eef.tar.gz
dotfiles-c549fd2782547ebf37e0b7c08b70dba76b1a5eef.zip
Remove unneeded quoting within [[ ]]
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 7952358c..c270fdfd 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -1,5 +1,5 @@
# Don't do anything if not running interactively
-if [[ -z "$PS1" ]]; then
+if [[ -z $PS1 ]]; then
return
fi
@@ -32,7 +32,7 @@ if [[ -r /etc/bash_completion ]]; then
fi
# Load any supplementary scripts
-if [[ -d "$HOME/.bashrc.d" ]]; then
+if [[ -d $HOME/.bashrc.d ]]; then
for file in "$HOME/.bashrc.d"/*; do
source "$file"
done