Mac 常用軟體#
通用#
- 網易郵箱大師
- 微信
- 谷歌瀏覽器
- 有道雲筆記
- 網易雲音樂
- QQ 音樂
- VSCODE
- Docker
- uTorrent
- 阿里雲盤
- Eagle
效率#
- Notion - 內容管理
- Paste - 剪貼板工具
- Alfred 4 - 搜索增強
- Fluent Reader - RSS 閱讀
- Ego Reader - RSS 閱讀
- Eagle - 圖片管理
工具#
- Beyond-Compare - 文件對比
- Magnet - 分屏工具
- eZip - 壓縮工具
- zsh - 命令行
- wrap - 命令行擴展
- Shottr - 截屏工具
- Jump-Desktop - 遠程連接
- OpenInTerminal - terminal 工具
- SwitchKey - 輸入法自動切換
- TinyPNG4Mac - 圖片壓縮
- uPic - 圖床
- ShadoShadowsocksX-NG-R8 - 翻牆
- KeepingYouAwake - 電腦休眠
- Input Source pro - 輸入法切換
- Dropover - 文件拖拽中轉
- Bartender - Mac 菜單欄管理
- Omi 錄屏專家
- Downie 4 - 視頻下載
- Cursor-pro - 光標優化
- stats - 系統監控
開發#
娛樂#
- IINA - 視頻播放器
命令行工具#
常見替代#
- procs
查看系統運行的進程
procs vscode
- bat
cat 的高亮替代版本用於查看文件
bat README.md
- fd
find 的替代版本用於查找文件
fd passwd /etc
/etc/default/passwd
/etc/pam.d/passwd
/etc/passwd
- exa
ls 的替代版本查看文件夾文件信息
exa -l
exa --tree --level=2
功能#
- rg
正則查找文件夾或者文件中的內容
rg 'fast\w*' README.md
-
ctop
運行程序資源分布查看 -
mac-cleanup
Mac OS 清理 -
upscayl
AI 提升圖片畫質
VSCODE 插件#
視覺#
效率#
- Auto Close Tag
- Auto Rename Tag
- ES7 React/Redux/GraphQL/React-Native snippets
- VS Code JavaScript ES6 snippets
- Less IntelliSense
- IntelliSense for CSS class names in HTML
- Turbo Console Log
- Better Comments
風格#
- Codelf
- Prettier
- Document This
- koroFileHeader
- Project Manager
git 項目的歸類管理
提示#
功能#
- GitLens
- Import Cost VSCode Extension
- Live Server
- Markdown All in One
- MDX
- REST Client
- TODO+
- TODO Highlight
- i18n Ally
AI#
快捷鍵#
control + option + command#
用 openInTerminal 在當前目錄打開 terminal
control + option + command + t
用 openInTerminal 在當前目錄打開 vscode
control + option + command + v
用 openInTerminal 複製當前的文件地址
control + option + command + c
control + option#
用 DropOver 打開一個空的文件暫存區域
alt + option + blank-space
控制 Hidden Bar 的顯示與否
alt + option + h
command + shift#
打開剪貼板管理工具 Paste
command + shift + v
使用 uPic 選擇文件上傳
command + shift + y
使用 uPic 上傳剪貼板的圖片內容
command + shift + u
使用 uPic 選擇裁剪區域並上傳
command + shift + i
command#
使用 input source pro 切換輸入法搜狗中文
command + ]
使用 input source pro 切換輸入法英文
command + [
alt#
打開 Alfred 全局搜索框
alt + blank-space
zshrc#
export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=/usr/local/Cellar/[email protected]/9.6.19/bin:$PATH
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="ys"
# git clone https://github.com/paulirish/git-open.git
# git clone https://github.com/zsh-users/zsh-autosuggestions
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
# git clone https://github.com/agkozak/zsh-z
plugins=(
git
dirhistory
git-open
zsh-autosuggestions
zsh-syntax-highlighting
zsh-z
)
source $ZSH/oh-my-zsh.sh
prompt_context() {}
eval $(thefuck --alias)
# -------------------------------- #
alias clr='clear'
alias ..="cd .."
# -------------------------------- #
alias ga="git add"
alias gA="git add -A"
alias gck="git checkout"
alias gckb="git checkout -b"
alias go="git open"
alias gcl="git clone"
alias gclr="git checkout ./"
alias gp="git pull origin"
alias gps="git push origin"
alias gcm="git commit -m"
alias gch="git cherry-pick"
alias gsv="git stash save"
alias gsl="git stash list"
alias gsp="git stash pop"
alias gsclr="git stash clear"
# npm install -g czg
# czg --openai-token=sk-xxxxx
alias aicm="czg ai"
# -------------------------------- #
alias cfgzsh="open ~/.zshrc"
alias sourcezsh="source ~/.zshrc"
# -------------------------------- #
# where proxy
proxy () {
export http_proxy="http://127.0.0.1:1087"
export https_proxy="http://127.0.0.1:1087"
echo "HTTP Proxy on"
}
# where noproxy
noproxy () {
unset http_proxy
unset https_proxy
echo "HTTP Proxy off"
}
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion