Replies: 0 comments 4 replies
-
# 显示Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles -bool true
# 隐藏Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles -bool false
# 鼠标单击窗口左上角的苹果标志 --> 强制退出 --> Finder --> 重新启动 |
Beta Was this translation helpful? Give feedback.
0 replies
-
# 查看或修改主机名、电脑名称
scutil --get LocalHostName
sudo scutil --set LocalHostName myMac
sudo scutil --set ComputerName myMacPro
sudo scutil --set HostName myMac
# 查看 DNS 配置
scutil --dns
# 查看代理配置
scutil --proxy
# 查看网络配置
scutil --nwi |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh My ZshInstallsh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# or
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" Plugins
# @see: https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
# step1:
# 1.
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# 2.
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# 3.
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
# step2: ~/.zshrc
plugins=(
[plugins...]
zsh-autosuggestions
zsh-syntax-highlighting
history-substring-search
)
# preinstall
# step1:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# step2:
sudo python get-pip.py
############
# @see: https://wakatime.com/terminal
# step1:
sudo pip install wakatime
# step2:
cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/sobolevn/wakatime-zsh-plugin.git wakatime
# step3:
# add `wakatime` to the list of `plugins` in your `~/.zshrc` file
# step4:
# Make sure your `API key` is in your `~/.wakatime.cfg` file. |
Beta Was this translation helpful? Give feedback.
0 replies
-
StarshipInstallcurl -fsSL https://starship.rs/install.sh | bash
vi ~/.zshrc
eval "$(starship init zsh)" FontNerd Fonts - Iconic font aggregator, collection, & patcher: 3,600+ glyph/icons, 40+ patched fonts: Hack, Source Code Pro, more. Popular glyph collections: Font Awesome, Octicons, Material Design Icons, and more |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions