fixed recipemenu
This commit is contained in:
@@ -14,5 +14,5 @@ choice=$(
|
|||||||
|
|
||||||
if [ -n "$choice" ]; then
|
if [ -n "$choice" ]; then
|
||||||
file=$(find "$RECIPE_DIR" -type f -name "$choice" -print -quit)
|
file=$(find "$RECIPE_DIR" -type f -name "$choice" -print -quit)
|
||||||
[ -n "$file" ] && alacritty -e less "$file"
|
[ -n "$file" ] && alacritty -e sh -c "glow -p \"$file\""
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user