fixing glob null bug in menu

This commit is contained in:
James Tomasino 2020-09-22 19:42:07 +00:00
parent 9256b46d98
commit ccd098b554
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
#!/usr/bin/env bash
shopt -s nullglob
for ship in "${HOME}/ships/"*; do
shipname="$(basename "$ship")"
shipstub="$(basename "$ship" | sed 's/[^A-Za-z0-9]//g' | tr '[:upper:]' '[:lower:]')"

View File

@ -86,6 +86,7 @@ menu:games:Games:Games and fun distractions
exec:_Bastard Tetris::/usr/games/bastet
exec:_Nethack::/usr/games/nethack-console
exec:_Sudoku::/usr/games/nudoku
exec:_Freesweep::/usr/games/freesweep
exec:_Zangband::/usr/games/zangband
exec:2048::/usr/games/2048
exec:_Gorched::/snap/bin/gorched

View File

@ -88,6 +88,7 @@ finger
fish
fonts-ubuntu-console
fortune-mod
freesweep
friendly-recovery
fte-terminal
ftp