diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 11:30:40 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 11:30:40 +1200 |
commit | c549fd2782547ebf37e0b7c08b70dba76b1a5eef (patch) | |
tree | 855535dba3539cb0d6ac9143af69dab3827cabd2 /bash/bashrc | |
parent | Use arithmetic expression for argument count (diff) | |
download | dotfiles-c549fd2782547ebf37e0b7c08b70dba76b1a5eef.tar.gz dotfiles-c549fd2782547ebf37e0b7c08b70dba76b1a5eef.zip |
Remove unneeded quoting within [[ ]]
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 4 |
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 |