diff --git a/bin/controller.rc b/bin/controller.rc index 49df0a5..74ce6e5 100755 --- a/bin/controller.rc +++ b/bin/controller.rc @@ -38,7 +38,7 @@ fn hide_paths { fn menu { lsArgs = ('-F') # XXX will not work properly for $#blogDirs > 1 and matching is hackish - if ( ! ~ $#inBlog 0 || ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ ) { # Work in progress XXX + if ( ! ~ $#inBlog 0 || { ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ } ) { # Work in progress XXX lsArgs = ($lsArgs -r) } ls $lsArgs $1 | sed $dirfilter | awk -F/ '