aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.markdown2
-rw-r--r--bash/bashrc.d/path.bash2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index e55ade14..0d44f918 100644
--- a/README.markdown
+++ b/README.markdown
@@ -178,7 +178,7 @@ There are a few other little tricks in `bash/bashrc.d`, including:
* `mkcp` — Create a directory and copy arguments into it
* `mkmv` — Create a directory and move arguments into it
* `pa` — Print given arguments, one per line
-* `path` — Manage the contents of PATH conveniently
+* `path` — Manage the contents of `PATH` conveniently
* `pd` — Change to the argument’s parent directory
* `scr` — Create a temporary directory and change into it
* `sprunge` — Pastebin frontend tool I pilfered from `#bash` on Freenode
diff --git a/bash/bashrc.d/path.bash b/bash/bashrc.d/path.bash
index b182c739..03f16c16 100644
--- a/bash/bashrc.d/path.bash
+++ b/bash/bashrc.d/path.bash
@@ -126,7 +126,7 @@ path() {
PATH="${newpatharr[*]}"
;;
- # Return whether DIR is a component of PATH
+ # Return whether directory is a component of PATH
check|c)
local -a patharr
IFS=: read -a patharr < <(printf '%s\n' "$PATH")