On Wed, Feb 12, 2014 at 08:44:21PM +0100, Fabrizio Tappero wrote:
> The objective of my email was to find the best way to fix the script.
Maybe something like zsh does with a new user? The first time you launch
it or when it doesn't see the variable launch a dialog which proposes
to add the variable to .profile
Explanation for whoever never used zsh... first time you execute it, it
says:
This is the Z Shell configuration function for new users,
zsh-newuser-install.
You are seeing this message because you have no zsh startup files
(the files .zshenv, .zprofile, .zshrc, .zlogin in the directory
~). This function can help you with a few settings that should
make your use of the shell easier.
You can:
(q) Quit and do nothing. The function will be run again next time.
(0) Exit, creating the file ~/.zshrc containing just a comment.
That will prevent this function being run again.
(1) Continue to the main menu.
--- Type one of the keys in parentheses ---
You can make a simple xdialog/zenity script asking (more or less): "You
don't have a GITHUB environment configured; do you want to a) configure
it adding a line to your .profile script, b) don't configure and don't
ask anymore, c) continue without configuring it"
Of course you can replace sh/zenity with wxpython if you want to
overkill the issue at hand...
--
Lorenzo Marcantonio
Logos Srl
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp