diff options
Diffstat (limited to 'ponysay')
-rwxr-xr-x | ponysay | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -3,7 +3,7 @@ version=0.4 SYSTEMPONIES=/usr/share/ponies HOMEPONIES="${HOME}/.ponies" -pony= +pony="*" wrap= cmd=cowsay @@ -39,12 +39,7 @@ done # Pony not a file? Search for it if [[ ! -f $pony ]]; then - - # Pony not set? Choose all - [[ -z $pony ]] && pony="*" - ponies=() - [[ -d $SYSTEMPONIES ]] && ponies+=( "$SYSTEMPONIES"/$pony.pony ) [[ -d $HOMEPONIES ]] && ponies+=( "$HOMEPONIES"/$pony.pony ) |