poetaman / arttime

arttime is a CLI application that blends beauty of ASCII / text art with functionality of clock / timer / pattern-based time manager in terminal ⏰
Other
938 stars 15 forks source link

-zcompdir argument for the install script is not working #50

Closed ghost closed 1 year ago

ghost commented 1 year ago
deckweiss@BIG-Chungus:~/Projects/arttime$ ./install.sh -g -zcompdir /usr/share/zsh/site-functions
./install.sh:zparseopts:22: bad option: -z

deckweiss@BIG-Chungus:~/Projects/arttime$ ./install.sh -g -zcompdir "~/test"
./install.sh:zparseopts:22: bad option: -z

deckweiss@BIG-Chungus:~/Projects/arttime$ ./install.sh -p /usr/share/ -zcompdir /usr/share/zsh/site-functions
./install.sh:zparseopts:22: bad option: -z
ghost commented 1 year ago

Seems like the help print is wrong. Should be:

    --zcompdir DIRECTORY 
poetaman commented 1 year ago

Fixed typo in https://github.com/poetaman/arttime/commit/c1efef23434b627593eccea73c7a74484fe85742. Though for now use "$HOME/test" instead of "~/test". Thanks!

ghost commented 1 year ago

Thank you!

With "~/test" I was just experimenting whether it was a permission issue that returned a weird error message somehow.