Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can one detect what terminal application is being used? I want the actual application, not TERM env in the question.

I'd like to detect iTerm 2 / Terminal.app so I could set OSX specific keyboard mappings, otherwise PC.

(See ALT+arrow moving between words in ZSH and iTerm 2 )

share|improve this question
    
You could see if the application is "running" with "ps -ax | grep iTerm" But I am not exactly sure how you would see if it was being "used" –  Justin May 23 '12 at 15:43

1 Answer 1

up vote 0 down vote accepted

You need to SSH forward local environment variables, as explained here:

http://groups.google.com/group/iterm2-discuss/msg/7cc214c487d31bc8

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.