Skip to content

lingyv/dotfiles

Repository files navigation

我的配置文件

存放我💻中的配置文件, 包括macOSGNU/Linux, 用于重装系统或配置新电脑时一键恢复环境.

使用方法

  1. 克隆到本地
git clone https://github.com/lingyv/dotfiles.git ~/dotfiles
cd ~/dotfiles
  1. 执行脚本
  • 如果是macOS:
git checkout mac
./brew.sh
./bootstrap.sh
  • 如果是Linux:
git checkout linux
./apt.sh(或pacman.sh)
./bootstrap.sh

文件分类

  1. 安装软件的脚本:
  • apt.sh -> linux分支
  • pacman.sh -> linux分支
  • brew.sh -> mac分支
  1. 链接配置文件的脚本:
  • bootstrap.sh
  1. 配置Mac系统的脚本:
  • .osx
  1. 各种配置文件

项目结构

项目主要有master linux mac三个分支, 分别用于设置linux maxOS系统.

  • master分支存放所有系统共通的配置文件
  • 其他分支基于master分支作出相应更改

配置文件列表

共通:

  • .aliases 别名配置
  • .bash_profile bash配置文件
  • .bashrc bash配置文件
  • .curlrc curl配置文件
  • .editorconfig 编码规范
  • .exports 环境变量
  • .functions bash函数
  • .gdbinit GDB配置
  • .gitconfig git配置文件
  • .ideavimrc idea插件IdeaVim配置文件
  • .inputrc
  • .tern-project YouCompleteMe js补全配置文件
  • .tmux.conf.local tmux配置文件, 配合github.com/gpakosz/.tmux.git使用
  • .vimrc vim配置文件
  • .wgetrc wget配置文件
  • .zshrc zsh配置文件
  • aria2.conf aria2配置文件
  • bootstrap.sh 链接配置文件脚本

macOS

  • .osx 配置macOS系统
  • brew.sh 安装软件脚本

linux

  • .i3 i3wm配置文件
  • pacman.sh ArchLinux软件安装脚本
  • apt.sh Ubuntu软件安装脚本
  • redpoint.sh ThinkPad小红点设置脚本
  • .Xresources URxvt配置文件

About

my own dot files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published