PostgresApp icon indicating copy to clipboard operation
PostgresApp copied to clipboard

Support for iTerm

Open brandonzylstra opened this issue 12 years ago • 23 comments

It would be very nice if PostgresApp supported iTerm. If you don't want to have a Preference pane, you could just check for iTerm and use it if it's available.

brandonzylstra avatar Jan 25 '14 21:01 brandonzylstra

I assume you mean that "Open psql" should open iTerm instead of Terminal? Sounds like a good idea. The latest Postgres.app beta has a preference window, so I should be able to integrate that nicely.

I'll have to check if iTerm has the same Apple script support as Terminal.

jakob avatar Jan 25 '14 23:01 jakob

Yes. I should have been more explicit.

It's been a while since I've scripted anything in iTerm (using some Ruby library IIRC) but I'm quite sure it can be done.

On Sat, Jan 25, 2014 at 6:53 PM, Jakob Egger [email protected]:

I assume you mean that "Open psql" should open iTerm instead of Terminal? Sounds like a good idea. The latest Postgres.app beta has a preference window, so I should be able to integrate that nicely.

I'll have to check if iTerm has the same Apple script support as Terminal.

Reply to this email directly or view it on GitHubhttps://github.com/PostgresApp/PostgresApp/issues/168#issuecomment-33304487 .

Brandon Zylstra [email protected]

brandonzylstra avatar Jan 28 '14 21:01 brandonzylstra

+1 This would be nice to have so that Terminal doesn't get opened alongside iTerm. Thanks for building a great little app otherwise!

dougjohnston avatar Apr 16 '14 22:04 dougjohnston

+1 as a preference, yes please

rayshan avatar Aug 22 '14 06:08 rayshan

+1 yes please

timestep avatar Sep 22 '14 15:09 timestep

+1

kojiwakayama avatar Oct 16 '14 08:10 kojiwakayama

+1

jwhitfield avatar Oct 20 '14 06:10 jwhitfield

+1

hgducharme avatar Nov 05 '14 21:11 hgducharme

+1

astrotars avatar Dec 01 '14 02:12 astrotars

+1

kpearson avatar Dec 31 '14 04:12 kpearson

+1

hicksca avatar Mar 12 '15 00:03 hicksca

+1

shenzhun avatar Apr 03 '15 13:04 shenzhun

also iTerm2 is there a reason why you can't just launch the default terminal app?

MattOates avatar May 19 '15 20:05 MattOates

  • 1

davedub avatar Jun 10 '15 00:06 davedub

+1

samhains avatar Jun 20 '15 04:06 samhains

@MattOates we are to lazy to alias '/Applications/Postgres.app/Contents/Versions/9.4/bin'/psql -p5432 psql (9.4.4) ;)

hicksca avatar Jul 28 '15 22:07 hicksca

If you set up your PATH (http://postgresapp.com/documentation/cli-tools.html) you can just type psql

Am 29.07.2015 um 00:10 schrieb Carl H [email protected]:

@MattOates we are to lazy to alias '/Applications/Postgres.app/Contents/Versions/9.4/bin'/psql -p5432 psql (9.4.4) ;)

— Reply to this email directly or view it on GitHub.

jakob avatar Jul 29 '15 04:07 jakob

@jakob https://github.com/PostgresApp/PostgresApp/issues/168#issuecomment-33304487 The offered AppleScript: Terminal.app applescript commands iTerm.app applescript commands

luckydonald avatar Dec 27 '15 16:12 luckydonald

@jakob I have the iTerm integration working. I noticed the header for Terminal.app is being generated on build and I wonder if I should the include the generated iTerm.h directly in the xcodeproj instead of creating another build step to generate iTerm.h just like we do for Terminal.h.

bithavoc avatar Jan 29 '16 21:01 bithavoc

@bithavoc awesome!

Please just include the iTerm.h header, otherwise we can build Postgres.app only with iTerm installed -- something I'd like to avoid.

jakob avatar Jan 30 '16 09:01 jakob