failed attempt to fix shellcheck broke script, reverting
This commit is contained in:
parent
5f45d8117d
commit
c043c50175
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ sort_loop() {
|
|||
|
||||
|
||||
while true; do
|
||||
CHOICES="$(printf %b 'Reload\nClose Menu\nSort By\n../\n*\n'"$(ls -1p "$SORT" "$REVERSE")")"
|
||||
# shellcheck disable=SC2086
|
||||
CHOICES="$(printf %b 'Reload\nClose Menu\nSort By\n../\n*\n'"$(ls -1p $SORT $REVERSE)")"
|
||||
DIR="$(basename "$(pwd)")"
|
||||
TRUNCATED="$(printf %.7s "$DIR")"
|
||||
if [ "$DIR" != "$TRUNCATED" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue