dotfiles

paulmillr活跃维护

一套色彩丰富、稳定可靠的 Mac/Linux/BSD 终端配置文件与工具集,帮你快速搭好顺手的 shell 和终端环境。

Colourful & robust configuration files and utilities for Mac, Linux & BSD

暂无版本1,243star177fork同步于 2026-11-07 07:32 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/paulmillr/dotfiles.git "$HOME/Developer/personal/dotfiles"
cd "$HOME/Developer/personal/dotfiles"
./install.sh
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

一套面向 Mac、Linux 和 BSD 的彩色且注重安全的 dotfiles 与工具集,帮你快速搭好 shell、git、vim 环境

一套色彩丰富、稳定可靠的 Mac/Linux/BSD 终端配置文件与工具集,帮你快速搭好顺手的 shell 和终端环境。

核心能力

  • 零外部依赖,不依赖 oh-my-zsh 或 prezto
  • 为 zsh 提供自动补全与语法高亮
  • 安装器不联网,可验证且可回滚
  • git 通过 IdentitiesOnly=yes 只向托管方暴露一个密钥
  • vim 配置成带树形视图和插件的迷你 IDE

容易踩的坑

安装前需先导入作者 GPG 公钥并校验最新提交签名,否则脚本会退出;被覆盖的原有文件会保留为 .bak、.bak.1 等,需自行清理;git 作者信息与 GPG 签名需按 README 手动配置后才生效

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Dotfiles

    Colourful & robust security-minded configuration files and utilities for Mac, Linux and BSD.

    git clone https://github.com/paulmillr/dotfiles.git "$HOME/Developer/personal/dotfiles"
    cd "$HOME/Developer/personal/dotfiles"
    
    curl -s https://github.com/paulmillr.gpg | gpg --import
    [ "$(git log -1 --format=%GP)" = "78A89CD10959782E23FF8447697079DA6878B89B" ] || { echo 'commit is not signed with the expected key'; exit 1; }
    git show --stat --oneline HEAD
    
    ./install.sh
    

    The installer performs no network requests; it invokes ./scripts/link.sh from its own checkout. Displaced paths are preserved as .bak, .bak.1, and so on.

    Features

    <img width="957" height="551" alt="Image" src="https://raw.githubusercontent.com/paulmillr/dotfiles/HEAD/

    • No external dependencies! Great, when compared to oh-my-zsh or prezto.
    • Auto-completion & syntax highlighing for zsh
    • Security-minded:
      • The branch names, archives, directory names, and other local users are assumed hostile.
      • The installer doesn't do network and is verifiable / reversible.
      • git offers exactly ONE key to git hosts via IdentitiesOnly=yes
      • git log shows signature status
      • Telemetry is disabled to known scripts via env vars like DO_NOT_TRACK=1
    • home has tiny files installed into $HOME - zshrc, bashrc, gitconfig
    • config/ has all the important parts:
      • shell/ - zsh & bash setup + extra helper functions
      • git/ - git log formatting
      • vim/ - turns vim into full-fledged mini-IDE, with tree view and other plugins
      • terminal-themes/ - color scheme for apple terminal, iterm and ghostty (where it's shipped by default)
      • ghostty/, vscode/ - some settings for terminal and editor

    Git setup

    Specify git author:

    git config --global user.name "Diogenes of Sinope"
    git config --global user.email "[email protected]"
    

    To enable checkboxes in git logs, also add config/git/mailmap:

    ME <[email protected]> <[email protected]>
    ME <[email protected]> <[email protected]>
    

    Enable GPG commit signing:

    git config --global commit.gpgsign true
    git config --global tag.gpgSign true
    

    License

    The MIT License (MIT)

    Copyright (c) 2011 Paul Miller (paulmillr.com)

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.