You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I use zsh, I don't want rack automatically adding a source to ~/.bashrc (it fails anyways if it's not there), as that won't be used.
--man flag would only generate the man page,
--completions flag would generate the bash completions file,
both would put them in the current directory, or the proper directory (as /usr/share/man/man1/ rack.1 and /etc/bash_completion.d/rack, respectively).
Running without either flag could do what it does now, depending on #146
edit: negative grammar
The text was updated successfully, but these errors were encountered:
#374 was a duplicate of this ticket. Some points made that ticket:
You may want to consider --no-bash-completions or --no-man-page; I I think it's a little weird that rack init --man-page would do less than rack init. @StephenBrown2 suggested:
Right now, rack tries to add bash completion. If that fails, it gives up and never tries to install the man page. As a fish user; that's unfortunate -- just getting the man page would have given me working completion.
I think the longer-term behavior mentioned on that ticket, where rack tries to do something smart for zsh/fish/... instead of just giving up with the default rack init command, is probably a different ticket, though?
I'm all for at least giving the possibility of separating out the file generation.
A secondary goal of this issue was so that I could make a PKGBUILD for Arch and put things in the proper places for Arch, which requires some finagling at the moment
Move any ~/.bashrc out of the way
Run rack init, then moving ~/.bashrc back
Move rack.1 (which is generated even though bash_completions isn't) to /usr/share/man/man1/
As I use zsh, I don't want rack automatically adding a source to ~/.bashrc (it fails anyways if it's not there), as that won't be used.
--man flag would only generate the man page,
--completions flag would generate the bash completions file,
both would put them in the current directory, or the proper directory (as /usr/share/man/man1/ rack.1 and /etc/bash_completion.d/rack, respectively).
Running without either flag could do what it does now, depending on #146
edit: negative grammar
The text was updated successfully, but these errors were encountered: