Skip to content

Wrong message while installing with yay AUR (bash: j: command not found) #697

@acid-weaver

Description

@acid-weaver

When installing with yay from AUR at the stage building package it prints wrong message (wrong paths):

Please manually add the following line(s) to ~/.bashrc:

[[ -s /home/{user}/.cache/yay/autojump/pkg/autojump/etc/profile.d/autojump.sh ]] && source /home/{user}/.cache/yay/autojump/pkg/autojump/etc/profile.d/autojump.sh

Please restart terminal(s) before running autojump.

After it, if install is fresh (not reinstalling), after answering Proceed with installation? [Y/n] it prints also:

>>>  Bash users will need to add the following to ~/.bashrc:
[[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh

 Fish users will need to add the following to ~/.config/fish/config.fish:
 [ -f /usr/share/autojump/autojump.fish ]; and source /usr/share/autojump/autojump.fish

And this is actually answer to issue. It don't appear when reinstalling, so in that case you would see only wrong message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions