Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6861] apprentice

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6861] apprentice
  • Date: Fri, 21 May 2004 17:53:45 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=6861





------- Additional Comments From eric AT sandall.us 2004-05-21 17:53 -------
Perhaps just setup aliases in /etc/profile.d/apprentice.sh that alias to
`apprentice <spell|package>`, and then apprentice will check $1 and ask.

e.g.

apprentice.sh:
alias killall=`apprentice killall`
OR
alias killall=`apprentice killall psmisc`


The latter might be better, and then in apprentice:
message "${MESSAGE_COLOR}You have Apprentice enabled and run $0, which is
provided by the uninstalled spell $1. Do you which me to cast $1 for you?
read -t $TIME_DELAY -e $APPROMPT
if [ "$APPROMPT" == "y" ||
"$APPROMPT" == "Y" ||
"$APPROMPT" == "yes ||
"$APPROMPT" == "YES ]
then
cast $1
fi



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page