Skip to content

Instantly share code, notes, and snippets.

@Sethathi
Forked from ashfurrow/Fresh macOS Setup.md
Created April 25, 2020 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sethathi/d8798d27b3fbff1870a92d865d3337a1 to your computer and use it in GitHub Desktop.
Save Sethathi/d8798d27b3fbff1870a92d865d3337a1 to your computer and use it in GitHub Desktop.
All the stuff I do on a fresh macOS Installation

Apps to install from macOS App Store:

  • Pastebot
  • GIF Brewery
  • Slack
  • Keynote/Pages/Numbers
  • 1Password
  • OmniFocus 2
  • Airmail 3
  • iA Writer
  • Wipr
  • Fresh

Apps installed directly from the internet:

Other Customizations

  • Custom Safari Stylesheet in Sync
  • Fairfloss Xcode/VSCode colour scheme http://sailorhg.github.io/fairyfloss/
  • Turn on zoom in Accessibility settings
  • git config --global push.default simple
  • git config --global user.name "Ash Furrow"
  • git config --global user.email ash@ashfurrow.com
  • git config --global alias.pushf "push --force-with-lease"
  • brew install trash + alias https://twitter.com/kattrali/status/662052949326098432
  • defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
  • defaults write -g NSWindowShouldDragOnGesture YES
  • Always expand save file dialogue box defaults write -g NSNavPanelExpandedStateForSaveMode -boolean true
  • Import GPG key from 1Password
  • Dark mode on menu bar
  • Dock on right, auto-hide on
  • Hide Desktop icons: defaults write com.apple.finder CreateDesktop false
#!/usr/bin/env python3
import asyncio
import iterm2
import os
def make_pwd(user_home, localhome, pwd, jobName):
if pwd:
if user_home:
home = user_home
else:
home = localhome
if pwd == home:
return "🏡"
else:
return jobName + " " + os.path.basename(os.path.normpath(pwd))
return ""
async def main(connection):
localhome = os.environ.get("HOME")
@iterm2.TitleProviderRPC
async def make_title(
jobName=iterm2.Reference("jobName?"),
jobPid=iterm2.Reference("jobPid?"),
pwd=iterm2.Reference("path?"),
tmux_title=iterm2.Reference("tmuxWindowTitle?"),
user_home=iterm2.Reference("user.home?")):
if tmux_title:
return tmux_title
return make_pwd(user_home, localhome, pwd, jobName)
await make_title.async_register(connection,
display_name="Title Algorithm",
unique_identifier="com.iterm2.example.georges-title-algorithm")
iterm2.run_forever(main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment