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