Skip to content

Commit

Permalink
Merge pull request #2 from Carnassial/master
Browse files Browse the repository at this point in the history
Fix for p-e-w#338 (Thanks to Carnassial)
  • Loading branch information
Nick Ashley committed Sep 14, 2014
2 parents a4227a4 + 029a6b5 commit 999f385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/Termlets/ls
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ file_end_mark=$(text_menu_end '1')
ls_output=$'\n'$ls_output$'\n'

# TODO: Search for files in directory passed to ls rather than the current directory
shopt -s nullglob dotglob
for filename in *; do
if [[ -d $filename ]]; then
file_substitution="$dir_begin_mark$filename$dir_end_mark"
Expand Down

0 comments on commit 999f385

Please sign in to comment.