fixed two bugs

This commit is contained in:
rick 2021-07-04 08:01:07 +05:30
parent 1637c73cd0
commit ad738a4c61
1 changed files with 2 additions and 2 deletions

View File

@ -34,10 +34,10 @@ case $1 in
-* | --*)
usage; error_exit "unknown option $1" ;;
init)
read -p "Your desired nickname [$USER]: " nickname
read -p "Your desired nickname [$USER]: " nick
nick=${nick:-"$USER"}
read -p "Type path to your twtxt [/home/$USER/twtxt.txt]: " path_to_twtxt
twtxt=${path_to_twtxt:-"/home/$USER/twtxt.txt"}
path_to_twtxt=${path_to_twtxt:-"/home/$USER/twtxt.txt"}
echo "" >> $path_to_twtxt
read -p "Type path to your twtxt config folder [/home/$USER/.config/twtxt-c/]: " config
config=${config:-"/home/$USER/.config/twtxt-c/"}