aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/path.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-12 14:23:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-12 14:23:36 +1200
commitae054e00b8eb96b26479722a50c261423663bd2c (patch)
tree3ef4b1252d70b584f71381734a75032140ffed47 /bash/bashrc.d/path.bash
parentMove first newline back into fortune (diff)
downloaddotfiles-ae054e00b8eb96b26479722a50c261423663bd2c.tar.gz
dotfiles-ae054e00b8eb96b26479722a50c261423663bd2c.zip
Remove unneeded quotes
Diffstat (limited to 'bash/bashrc.d/path.bash')
-rw-r--r--bash/bashrc.d/path.bash8
1 files changed, 4 insertions, 4 deletions
diff --git a/bash/bashrc.d/path.bash b/bash/bashrc.d/path.bash
index d81190de..cbeec59b 100644
--- a/bash/bashrc.d/path.bash
+++ b/bash/bashrc.d/path.bash
@@ -52,7 +52,7 @@ path() {
IFS=: read -a patharr < <(printf '%s\n' "$PATH")
local dir
dir=$1
- if [[ -z "$dir" ]] ; then
+ if [[ -z $dir ]] ; then
printf 'bash: %s: need a directory path to insert\n' \
"$FUNCNAME" >&2
return 1
@@ -82,7 +82,7 @@ path() {
IFS=: read -a patharr < <(printf '%s\n' "$PATH")
local dir
dir=$1
- if [[ -z "$dir" ]] ; then
+ if [[ -z $dir ]] ; then
printf 'bash: %s: need a directory path to append\n' \
"$FUNCNAME" >&2
return 1
@@ -112,7 +112,7 @@ path() {
IFS=: read -a patharr < <(printf '%s\n' "$PATH")
local dir
dir=$1
- if [[ -z "$dir" ]] ; then
+ if [[ -z $dir ]] ; then
printf 'bash: %s: need a directory path to remove\n' \
"$FUNCNAME" >&2
return 1
@@ -148,7 +148,7 @@ path() {
IFS=: read -a patharr < <(printf '%s\n' "$PATH")
local dir
dir=$1
- if [[ -z "$dir" ]] ; then
+ if [[ -z $dir ]] ; then
printf 'bash: %s: need a directory path to check\n' \
"$FUNCNAME" >&2
return 1