From 3e2c17ff9892e6832810ae1cabe656137186746a Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Mon, 17 Apr 2023 00:50:45 -0500 Subject: [PATCH] typos and other errors --- fuzzy-pokedex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fuzzy-pokedex b/fuzzy-pokedex index 081a7ae..cf902d6 100755 --- a/fuzzy-pokedex +++ b/fuzzy-pokedex @@ -1,8 +1,8 @@ #!/bin/bash ### Help -Help() { - echo -e "\nUse fzf to search and Pokemon stats\n" +help() { + echo -e "\nUse fzf to search Pokemon stats\n" echo -e "Can optionally search by name" echo -e "EXAMPLE\n\tfuzzy-pokedex [pokemon name]\n" echo -e "OPTIONS" @@ -12,7 +12,7 @@ Help() { } ### Pokedex viewer using pokemon-colorscripts and fzf -pokedex() { +fuzzy_pokedex() { pokemon-colorscripts -l | fzf +m -s -i \ --cycle \ @@ -44,7 +44,7 @@ update_pokeData() { } if [[ ! "$1" =~ ^- ]]; then - pokedex + fuzzy_pokedex "$1" else for opt in "$@"; do case $opt in @@ -52,7 +52,7 @@ else update_pokeData ;; -h|--help) - Help + help ;; -*) echo "Invalid Usage"