From c549fd2782547ebf37e0b7c08b70dba76b1a5eef Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 20 Aug 2013 11:30:40 +1200 Subject: Remove unneeded quoting within [[ ]] --- bash/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash/bashrc') 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 -- cgit v1.2.3