[MacTUG] C shell scripts as login items

Matthew Oliver m3oliver at uwaterloo.ca
Thu May 24 11:10:41 EDT 2007


Hi Dani...

You can have a shell script run as a login item if you make sure the  
filename ends in .command

I have the following silly test script in a file called test.command

#!/bin/bash
touch ~/test.txt

this works except it doesn't close the terminal window after it  
executes it after login which I find a bit annoying...


-Matt


On 24-May-07, at 10:41 AM, Dani Roloson wrote:

> I want to add a csh script as a login item.
> Anyone had success doing this?
>
> Dani
> MFCF
> _______________________________________________
> MacTUG mailing list
> MacTUG at lists.uwaterloo.ca
> https://lists.uwaterloo.ca/mailman/listinfo/mactug



More information about the MacTUG mailing list