feat: more macos good
parent
ddc189f3c6
commit
583859e8ce
|
@ -944,6 +944,13 @@
|
|||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||
>macOS
|
||||
</h3>
|
||||
<p>Use Touch ID in Terminal:</p>
|
||||
<div class="highlight highlight-source-shell">
|
||||
<pre>sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local
|
||||
|
||||
<span class="pl-c"><span class="pl-c">#</span> Uncomment last line</span>
|
||||
sudo nano /etc/pam.d/sudo_local</pre>
|
||||
</div>
|
||||
<p>Hide Developer in Spotlight:</p>
|
||||
<div class="highlight highlight-source-shell">
|
||||
<pre><span class="pl-c1">cd</span> /Applications
|
||||
|
@ -968,6 +975,14 @@ xcode-select --install</pre>
|
|||
<div class="highlight highlight-source-shell">
|
||||
<pre>pbcopy <span class="pl-k"><</span> /dev/null</pre>
|
||||
</div>
|
||||
<p>Thanks:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://apple.stackexchange.com/a/466029" rel="nofollow"
|
||||
>https://apple.stackexchange.com/a/466029</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
<a
|
||||
id="user-content-firefox"
|
||||
|
|
|
@ -233,6 +233,15 @@ Don't enable plugin `git` in ohmyzsh.
|
|||
|
||||
### macOS
|
||||
|
||||
Use Touch ID in Terminal:
|
||||
|
||||
```sh
|
||||
sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local
|
||||
|
||||
# Uncomment last line
|
||||
sudo nano /etc/pam.d/sudo_local
|
||||
```
|
||||
|
||||
Hide Developer in Spotlight:
|
||||
|
||||
```sh
|
||||
|
@ -263,6 +272,10 @@ Clean up clipboard:
|
|||
pbcopy < /dev/null
|
||||
```
|
||||
|
||||
Thanks:
|
||||
|
||||
- https://apple.stackexchange.com/a/466029
|
||||
|
||||
### Firefox
|
||||
|
||||
`about:config`:
|
||||
|
|
Loading…
Reference in New Issue