Disable ignore /bin by default (dmenu_run)
This commit is contained in:
parent
859f47c19e
commit
db55baf722
16
dmenu_run
16
dmenu_run
|
@ -16,13 +16,15 @@ list_binaries() {
|
||||||
if [ -z "${current_path}" ] ; then
|
if [ -z "${current_path}" ] ; then
|
||||||
binaries=1
|
binaries=1
|
||||||
else
|
else
|
||||||
# Extra code
|
# Extra code / When /bin is the same that /usr/bin/
|
||||||
if [ "${current_path}" == "/bin" ] ; then
|
#if [ "${current_path}" == "/bin" ] ; then
|
||||||
count_path=$(expr ${count_path} + 1)
|
# count_path=$(expr ${count_path} + 1)
|
||||||
else
|
#else
|
||||||
ls -1 ${current_path}/
|
# ls -1 ${current_path}/
|
||||||
count_path=$(expr ${count_path} + 1)
|
# count_path=$(expr ${count_path} + 1)
|
||||||
fi
|
#fi
|
||||||
|
ls -1 ${current_path}/
|
||||||
|
count_path=$(expr ${count_path} + 1)
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user