Skip to content

Mac shell notes

View and edit plist files

plutil -convert xml1 ExampleBinary.plist

plutil -convert binary1 Example.plist

M1 Mac notes

Rosetta

iTerm2

  1. "iTerm2 -> Preferences -> Profiles -> General"
  2. change the "Login Shell" drop down to "Command"
  3. enter: arch -x86_64 /bin/zsh 4. item-default-profile-command.png
    1. Restart iTerm
  4. Verify that it worked worked 7. type arch into your terminal: you should see i386

VSCode Terminal: set it up with Rosetta

Creating a custom VSCode Terminal Profile for using Rosetta on an M1 Mac (Apple Silicon) - DEV Community 👩‍💻👨‍💻

Docker

iTerm

Multi line terminal commands

  1. ⌘ + ⇧ + . to open a Composer
  2. Type some cool multi-line command
  3. ⇧ + Return to execute

iterm-multi-line-commands.png

Hot key

I use Caps lock E to toggle the Quake like terminal

iterm-hotkey.png


Last update: 2023-04-24