--- On Sat, 4/19/08, Herman I. May <[EMAIL PROTECTED]> wrote: > From: Herman I. May > Subject: [Xastir] Re: Day/Night Users > To: xastir@xastir.org > Date: Saturday, April 19, 2008, 1:23 PM > On [EMAIL PROTECTED]:14CDT, Alex Carver wrote: > > > Then start xastir accordingly even using shell > scripts: > > > > ~/xastir.night: > > #!/bin/bash > > xastir -c ~/bob/.xastir.night > > > > ~/xastir.day: > > #!/bin/bash > > xastir -c ~/bob/.xastir.day > > Even easier: > For such a short command, simply add an alias to the shell > resource > file (or aliases file, if applicable). > > alias xD='xastir -c ~/bob/.xastir.day > alias xN='xastir -c ~/bob/.xastir.night' > > Then, simply issue "xN" from the CLI and away you > go.
This is true though a script allows other prep work to be added (permissions for serial port for example) if needed. But indeed shell aliases work, too. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir