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
@tortolo: Is it possible for you to add a post installation message asking users to add source /usr/share/autojump/autojump.sh to their ~/.bashrc (or shell rc file). This issue seems to come up time and time again: #65.
I can add an install.py --post-install-msg to make this easier in the future, as well as check for missing environment variables if autojump is run without being sourced. Hopefully this will help some confused future users.
The text was updated successfully, but these errors were encountered:
@tortolo: Is it possible for you to add a post installation message asking users to add source /usr/share/autojump/autojump.sh to their ~/.bashrc (or shell rc file). This issue seems to come up time and time again: #65.
Yes, I could, but the problem is I really doubt they would see and read
one message in the whole package installation output. I mean, if a user
does not even think of reading autojump's manpage (which I patched to
indicate it has to be sourced) or the package's README.Debian (standard
main information file for any Debian package), or to report such a bug
to Debian rather than to autojump, I do not see how he could pay any
attention to installation messages…
I could add a debconf screen for that, which is modal and cannot be
missed, but that would probably be an abuse of debconf which is made for
configuring packages, not for displaying information. And it would have
to be a low priority debconf screen not to block automated
installations, so it would not be displayed on systems configured to
ignore low priority debconf screens, which is usually the case for those
people.
Now, I think there is one thing that may be more useful: create and
install a script named /usr/bin/j, that just indicates what has to be
done to load autojump for Bash or Zsh.
@tortolo: Is it possible for you to add a post installation message asking users to add
source /usr/share/autojump/autojump.sh
to their ~/.bashrc (or shell rc file). This issue seems to come up time and time again: #65.I can add an
install.py --post-install-msg
to make this easier in the future, as well as check for missing environment variables if autojump is run without being sourced. Hopefully this will help some confused future users.The text was updated successfully, but these errors were encountered: