From 98e018f751378d3763147993a5877e49d7341087 Mon Sep 17 00:00:00 2001 From: cremesk Date: Mon, 29 Jul 2019 21:33:53 +0200 Subject: [PATCH] typo fix --- envs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/envs b/envs index 2ccffdc..ab302f2 100755 --- a/envs +++ b/envs @@ -102,7 +102,7 @@ verify_script_name() { [[ $(type -P "$1") ]] && [[ -x $HOME/bin/$1 ]] || error_exit "$1 already exists. rename your script and try again." - [[ -x /tilde/bin/$1 ]] && error_exit "$1 is already taken. rename your script and try again." + [[ -x /envs/bin/$1 ]] && error_exit "$1 is already taken. rename your script and try again." case $1 in about|description|list|ls|submit|about|help|apropos|submit|approve) error_exit "$1 is a subcommand of envs. rename your script and try again." ;; @@ -170,7 +170,7 @@ case $1 in list | ls) echo -e "available scripts:\n" - for scr in /tilde/bin/*; do + for scr in /envs/bin/*; do script_name=$(basename $scr) target=$(readlink -f "$scr") echo "$script_name by "$(stat -c '%U' $target)