fixing glob null bug in menu
This commit is contained in:
parent
9256b46d98
commit
ccd098b554
|
@ -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:]')"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue