Favoring BSD based bash, ( os x )
This commit is contained in:
parent
82462832ef
commit
27aee4d5c9
@ -13,7 +13,7 @@ function __func_help() {
|
||||
SDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/sources
|
||||
|
||||
echo "Begin source:"
|
||||
for i in $( find $SDIR -maxdepth 1 -type f -executable | sort )
|
||||
for i in $( find $SDIR -maxdepth 1 -type f -perm +111 | sort )
|
||||
do
|
||||
echo " Source:" $( basename $i )
|
||||
. $i
|
||||
|
@ -95,8 +95,9 @@ __go_nav() {
|
||||
LISTOF=''
|
||||
for i in "${!PWDA[@]}"
|
||||
do
|
||||
MARK=$i
|
||||
if [[ "${PWDA[$i]}" =~ $ARG3 ]]; then
|
||||
MARK=$i
|
||||
break
|
||||
fi
|
||||
|
||||
if [[ -n "${PWDA[$i]}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user