Skip to content

Commit

Permalink
Update archives.
Browse files Browse the repository at this point in the history
  • Loading branch information
poneding committed Jul 9, 2024
1 parent f9b642c commit 1c01b70
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion content/os/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ rm: /Users/dp/Library/Containers/com.docker.docker: Operation not permitted

进入系统设置 => 隐私与安全性 => 完全磁盘访问权限,添加终端程序如 `iTerm` 访问权限。再次执行删除命令,OK~

# 设置 Dock 栏显示速度
## 设置 Dock 栏显示速度

```bash
defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0.2 && killall Dock
Expand All @@ -158,5 +158,15 @@ defaults write com.apple.dock autohide-delay -float 0 && defaults write com.appl
defaults delete com.apple.dock autohide-delay && defaults delete com.apple.dock autohide-time-modifier && killall Dock
```

## python

在 Mac 上卸载了老版本的 python,并安装了新版本的 python3 后,执行命令提示:env: python: No such file or directory

解决方式:

```bash
sudo ln -s -f /usr/local/bin/python3 /usr/local/bin/python
```

---
[» ohmyzsh](ohmyzsh.md)

0 comments on commit 1c01b70

Please sign in to comment.