Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use iTerm With OnMyCommand' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use iTerm With OnMyCommand
Authored by: af3556 on Aug 07, '03 11:47:04AM

A minor change to respect the user's default shell and any dotfiles normally invoked via the login shell: replace

-e 'exec command "/bin/tcsh"'

with

-e 'exec command "sh -c \"/usr/bin/login -fp $USER\""'

or just

-e 'exec command "/usr/bin/login -fp username"'



[ Reply to This | # ]