pash: fix bugs in list

This commit is contained in:
Dylan Araps 2019-11-28 18:56:09 +00:00
parent 9b83d599f0
commit d857427803
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 1 deletions

4
pash
View File

@ -69,8 +69,10 @@ pw_copy() {
pw_list() {
if hash tree 2>/dev/null; then
tree --noreport
else
find . -mindepth 1
set +f
find -- * -type f
fi
}