.bashrc.lib@0c95a57f444d
.bashrc.lib
Tue, 08 Nov 2016 01:44:19 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Tue, 08 Nov 2016 01:44:19 -0500
- changeset 429
- 0c95a57f444d
- parent 270
-
dda2a7f4d485
- permissions
- -rw-r--r--
Remove stuff from general ctags that makes tag jumping harder
# vim: ft=sh
path-append() {
if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then
PATH="${PATH:+"$PATH:"}$1"
return 0
fi
return 1
}
path-prepend() {
if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then
PATH="$1${PATH:+":$PATH"}"
return 0
fi
return 1
}