Opened 3 years ago

Closed 3 years ago

#63450 closed defect (fixed)

mcfly: scripts to source were moved to completion directories when they are not completion scripts

Reported by: Tatsh (Andrew Udvare) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: herbygillot (Herby Gillot), judaew (Vadym-Valdis Yudaiev)
Port: mcfly

Description

These are not Bash completion scripts. See mcfly.bash. These are scripts for each individual shell to source usually in a file like ~/.profile.

This part of the commit should be reverted as now everyone gets (in Bash) -bash: mcfly_prompt_command: command not found unless they source the file from its new location (or run mcfly <TAB> in Bash with bash-completion working). And the commit after this should also be reverted because the notes are important.

Workaround is to source from the new location: source ${macports_prefix:-/opt/local}/share/bash-completion/completions || source ${macports_prefix:-/opt/local}/share/mcfly/mcfly.bash.

Change History (1)

comment:1 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Owner: set to judaew
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.