Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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)
@cjazz

This comment has been minimized.

Copy link

@cjazz cjazz commented Oct 24, 2019

Hey Ash, I was perusing your nicely curated Mac setup :) I'm an old mac hack myself (used to be called a MacHead).

Here's one you might consider adding to your .bash_profile (or the equivalent zsh)..

alias show='defaults write com.apple.finder AppleShowAllFiles 1 && killall Finder'
alias hide='defaults write com.apple.finder AppleShowAllFiles 0 && killall Finder'

Useful if I want to see all those invisible files in the finder.

Cheers!

@ashfurrow

This comment has been minimized.

Copy link
Owner Author

@ashfurrow ashfurrow commented Oct 28, 2019

Thanks @cjazz! That's a good one.

@olivertaylor

This comment has been minimized.

Copy link

@olivertaylor olivertaylor commented Aug 14, 2020

@cjazz There's also a shortcut for that: shift command . which is a toggle. It even works in open/save dialog boxes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.