-
Notifications
You must be signed in to change notification settings - Fork 1
/
setting-up-my-new-mac.html
139 lines (133 loc) · 11.3 KB
/
setting-up-my-new-mac.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<title>thebouv</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Geek of All Trades. Maker and Breaker. Tinkerer and Thinker-er.">
<meta name="author" content="Anthony Bouvier">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://thebouv.com/images/thebouv20220607.jpg">
<meta name="twitter:description" content="Geek of All Trades. Maker and Breaker. Tinkerer and Thinker-er.">
<meta name="twitter:creator" content="">
<meta property="og:url" content="https://thebouv.com"/>
<meta property="og:title" content="thebouv" />
<meta property="og:description" content="Geek of All Trades. Maker and Breaker. Tinkerer and Thinker-er." />
<!-- Styles -->
<link rel="stylesheet" type="text/css" href="https://thebouv.com/theme/css/paper.css" />
<link rel="stylesheet" type="text/css" href="https://thebouv.com/theme/css/pygment.css" />
<!-- Favicons -->
<link rel="icon" type="image/jpg" href="https://thebouv.com/images/thebouv20220607.jpg">
<link rel="alternate" type="application/atom+xml" href="https://thebouv.com/feeds/atom.xml" title="Atom Feed">
<link rel="alternate" type="application/atom+xml" href="https://thebouv.com/feeds/all.atom.xml" title="Full Atom Feed">
<!-- Script -->
<script>
function setTheme() {
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark');
return;
}
}
</script>
</head>
<body class="list">
<script>
setTheme();
</script>
<header class="header">
<nav class="nav">
<h1 class="logo"><a href="/">thebouv</a></h1>
<ul class="menu">
<li>
<a href="https://thebouv.com/pages/about.html">about</a>
</li>
<li>
<a href="https://thebouv.com/tags.html">tags</a>
</li>
</ul>
</nav>
</header>
<main class="main">
<article class="post-single">
<header class="post-header">
<h1 class="post-title">Setting up my new Mac</h1>
<div class="post-meta">
By Anthony Bouvier on Mon 23 August 2021
</div>
</header>
<div class="post-content"><p>I'm starting a new job soon after 7 years at my previous company. As I was installing a few things I decided I should document what I normally do. This isn't a deeply technical article, and is really just a bunch of my opinions, but I think it'll be interesting to some.</p>
<p>I personally use a 15" MacBook Pro (what I'm writing this article on) and love it; though I do feel like the TouchBar is still one of the dumbest features ever added to the lineup. At least the new 13" version I have, still Intel not M1, is that it has a physical escape key. Thank gods for that -- the virtual one on my personal machine agitates me to this day.</p>
<h2>Let's delete a lot of stuff</h2>
<h3>Dock</h3>
<p>I'm a fan of deleting stuff. I feel like too many people keep too many things on their machines. The very first thing I do when I set up a machine is to delete software. For this machine, I immediately clear the 20+ icons in the Dock. My personal machine only has Finder, Firefox, iTerm2, and VSCode as the permanent apps -- then the Downloads folder and Trash after the divider. I don't understand having more than that as these are the apps I use the most often. Anything else is <strong>⌘ + Spacebar</strong> away with Spotlight Search.</p>
<p><img src="/images/dock.png" alt="an image of my sparse dock, with only a few permanent icons"></p>
<h3>Apps</h3>
<p>I also don't have any reason to keep any of the Apple Suite -- literally no one I know uses Pages, Keynote, or any other pieces. Either we have a license to Office365, or GSuite is used. And quite frankly -- I hope I never have to make another PowerPoint/Keynote or Word Doc the rest of my career.</p>
<p>This is also true for GarageBand and iMovie. Just 100% useless on my dev machine for work. But they're also gone from my home machine.</p>
<p>If I could delete more apps I would, but for some reason Chess, Mail, Messages, and others I am not allowed to remove. Reminds me of IE in the Windows world. Do any of the apps take up a lot of space? No, but dammit, I want to delete them. I've read a few articles on how to do it by disabling SIP and more, but at the end of the day I don't wanna mess with that. More a curiosity than anything.</p>
<h3>zsh</h3>
<p>I know how awesome zsh is. And Apple thinks so too because now it is the default shell for OS X. However, I've used bash for 20 years and don't really feel like changing. That's pretty much it -- none of the features of zsh impress me enough to change, so I make sure to <code>chshell</code> and also add in an env to stop Apple's insistence that I use zsh when I open a terminal (added to my dotfiles of course which you will see below).</p>
<h3>Some trackpad stuff</h3>
<p>I hate Apple's "natural scrolling" bullshit. Not even going to hide it. And most of the gestures I end up accidentally triggering all the damn time so I turn off a lot of those too.</p>
<p>For Point and Click settings I turn off "Look up & data detectors" and "Tap to click". I set the secondary click to be bottom right corner. </p>
<p>For the Gestures setting, I only leave on "Swipe between pages" and "Swipe between full-screen apps". I detest the rest of them.</p>
<h2>Now to add things!</h2>
<h3>Brew</h3>
<p>Brew gets installed immediately. It is just too handy of a package manager not to do so and is a predecessor to a lot of the other software I want to install.</p>
<h3>iTerm2</h3>
<p>The default Termina.app in Mac OS X is okay, but iTerm2 just overall feels better. Snappier, tabbed, and <a href="https://iterm2.com/features.html">a ton of other features</a> makes it is my go to. </p>
<div class="highlight"><pre><span></span><code>brew install --cask iterm2
</code></pre></div>
<h3>pyenv</h3>
<p>Well, as python is my favorite language, pyenv is an immediate add. Helps manage python versions on my machine including the global one. </p>
<div class="highlight"><pre><span></span><code>brew install pyenv
</code></pre></div>
<h3>git</h3>
<p>Gotta get the real git and easily keep it up to date. The default one with XCode tools (which are necessary to install when installing Brew) lags behind official releases and that has bit me once or twice in the past.</p>
<div class="highlight"><pre><span></span><code>brew install git
</code></pre></div>
<h3>dotfiles</h3>
<p>Now that I have my iTerm all set up, I want my colors, aliases, and other things from my dotfiles. Thankfully I maintain them as a repo so I can use them anywhere I want. I simply clone <a href="https://github.com/thebouv/dotfiles">my dotfiles repo</a> and run <code>./bootstrap.sh</code> to install them. My dotfiles actually need some love to add in a few random things, or to even simplify pieces that I don't utilize. If you compare my <a href="https://github.com/thebouv/dotfiles">dotfiles</a> to that of the <a href="https://github.com/mathiasbynens/dotfiles">parent repo</a> you can see I've already done a few passes of simplification.</p>
<div class="highlight"><pre><span></span><code>git clone https://github.com/thebouv/dotfiles
<span class="nb">cd</span> dotfiles
./bootstrap.sh
</code></pre></div>
<h3>Firefox</h3>
<p>I open Safari once on the machine to download Firefox. I just can't get used to Safari and I prefer a lot of the built in privacy features of Firefox like encrypted DNS. Not to mention the extensions system where I immediately install uBlock Origin, Facebook Container, and my password manager. I also remove Pocket from the toolbar cause I've never used it and have no intention to do so now. I try to stay as extension-lite as I can in Firefox to keep bloat down.</p>
<p>I should have looked to see if I could install via brew but didn't so did it the traditional way via the Firefox/Mozilla website.</p>
<h3>VS Code</h3>
<p>And of course, I have to get VS Code as soon as possible. Thankfully even VS Code is installable via Brew and that's exactly what I do.</p>
<div class="highlight"><pre><span></span><code>brew install --cask visual-studio-code
</code></pre></div>
<h3>Rectangle</h3>
<p>Previously I used to always install Spectacle as a window management tool for OS X but it is no longer actively developed. Rectangle is the replacement and of course it is on Brew too.</p>
<p>I really can't function without this app. My muscle memory for moving windows around is strongly keyboard based and when setting up Rectangle it forgivingly allowed me to use Spectacle shortcut combos without needing to learn new ones for Rectangle.</p>
<p>I actually need to switch this personal laptop over to it as well.</p>
<div class="highlight"><pre><span></span><code>brew install --cask rectangle
</code></pre></div>
<h2>Physical stuff</h2>
<p>Because I am known to be a fan of stickers for my laptops I immediately have to buy some things.</p>
<p>First up is a hard plastic shell for the laptop itself. It is a shame to hide the slick looking dark metal casing, but I can't have any stickers potentially gumming it up. Plus, adding a case gives it more protection and a way to swap out cases if I want new stickers or a new look in the future.</p>
<p>My last work laptop had a light purple look to it with a matte finish, but I found the matte didn't take as well as gloss to removing stickers over time if they start to peel.</p>
<p>So my new case is bright orange, gloss, and comes with a silicone keyboard cover. It's nice that this is a bundle cause I always buy keyboard covers for MacBook Pros as well. Their keyboards have been known on some models to be very sensitive to dust (looking at you butterfly keyboard on my personal laptop).</p>
<p><img src="/images/maccase.png" alt="product image for the orange case I bought for my mac"></p>
<p>And of course I need to buy stickers next. Usually I can pull from my stacks and stacks of left overs. But most of those are programming related and my career has shifted over time to more <a href="https://en.wikipedia.org/wiki/Infrastructure_as_code">Infrastructure as Code</a> and other <a href="https://en.wikipedia.org/wiki/DevOps">DevOps tooling</a> related.</p>
<p>So now I'm on the hunt for stickers for TerraForm, Jenkins, AWS and Azure, and more. Eventually I'll edit this post and add in pics of the laptop once it is all covered up in sticker goodness.</p>
<h2>That's all?!</h2>
<p>Not really. I'm also going to install things specifically for work like Terraform, Azure and AWS CLI clients, Docker, and tools specifically for work. I didn't go into detail for each because pretty much everything I've said above is what I'd do on any new dev machine, even a personal one.</p>
<p>I'll post soon about my new role and likely more about my specific tooling for that as well.</p></div>
<footer class="post-footer">
<ul class="post-tags">
<li><a href="https://thebouv.com/tag/career.html">career</a></li>
<li><a href="https://thebouv.com/tag/development.html">development</a></li>
<li><a href="https://thebouv.com/tag/hardware.html">hardware</a></li>
</ul>
</footer>
</article>
</main>
<footer class="footer">
<span>© 2022 Anthony Bouvier · Geek of All Trades. Maker and Breaker. Tinkerer and Thinker-er.</span>
</footer>
</body>
</html>