- Mac how to change default program open mac os x#
- Mac how to change default program open code#
- Mac how to change default program open Pc#
Problem with this solution is that it doesn’t change anything for the next time I touch the file: it’ll still open in Preview on double-click. In this case, I’d like to open the image with GraphicConverter 9, so I could do that by simply choosing it from the list. Try a different file, like a DOCX or a WMA file, and you’ll see a very different list of available apps. By choosing “Open With” I get a secondary menu that shows the default app for this file type (Preview) along with a list of different programs that have indicated to the OS that they can handle a JPG file. Here I’m trying to open up the file “american-hustle-poster.jpg”, a JPEG format image. To open a file with a specific program or application, right click (oops, sorry, “control-click”) on the icon:
Mac how to change default program open mac os x#
You can get into a bit of trouble if you assign a filetype to a program that can’t handle it, like an audio file to be always opened in Adobe Photoshop, but you’ll see, Mac OS X warns you about that by tapping into a list of known file types for each program you have on your system.
Mac how to change default program open Pc#
Or, you can press the Option modifier key when quitting the Quit menu item will change to "Quit and Discard Windows" and the next time you open Terminal it will perform the startup action.On a PC I’d say you need to deal with the file registry or some complex setting, but on the Mac it’s surprisingly easy to get this correct, though it turns out that there are three possible solutions: you can open up a file with a specific program once, you can specify that particular file should always open up with a specific program or app, or you can tell Mac OS X 10.9 Mavericks (or whatever version of Mac OS you’re running) that forevermore all files of the specified type should be assigned to the program you prefer. As I mentioned, you can just leave this terminal open when you Quit and it will be restored when you open Terminal again. (On Lion, Resume will restore windows that were open when you quit, rather than perform the startup action.
Terminal > Preferences > Startup > On Startup, open I recommend you Duplicate the current default profile (if you've never changed it, the default is "Basic") using the Action ("gear") menu at the bottom of the profiles list, then customize that profile.įinally, to have it automatically open a terminal with this profile when you open Terminal, set When you open a new terminal with that profile, it will go to your git directory. Terminal > Preferences > Settings > Shell > Startup > Run commandĮnable "Run command" and "Run inside shell", then set the command to cd your_git_directory. You can customize or create a "Settings Profile" to issue a "cd" command when it starts: You can also arrange for Terminal to start a shell in a particular directory.
Mac how to change default program open code#
I've posted code for zsh in my answer to Resume Zsh-Terminal (OS X Lion) on SuperUser.) If you're using some other shell, you'll need to adapt the code in /etc/bashrc to your shell. Each time you reopen Terminal, the terminal will be there, in the same directory. So, you can just open a new terminal and cd to your git directory, then leave the window open when you Quit. As of Mac OS X Lion 10.7, Terminal supports Resume and by default will automatically restore terminals you had open when you quit, restoring their working directories.