Linux DotFiles 用户配置文件 Bash Pip Vim ReadLine Git

78 阅读1分钟

DotFiles Linux

Bash 配置

  • 配置文件:

    • .bashrc - bash 配置文件,启用.shells文件夹下所有配置文件。
    • .shells/alias - 常用命令缩写,git,tar,grep,ls等。
    • .shells/defaults - bash 相关默认配置。
    • .shells/exports - 环境变量。
    • .shells/functions - shell 函数。
    • .shells/prompt - bash 提示样式。
  • 配置预览:

    bash.png

Python Pip 配置

  • 配置文件:.pip文件夹。

Vim 配置

  • 配置文件:

    • .vim文件夹。
    • .vimrc文件。
  • 配置预览:

    vim.png

ReadLine 配置

  • Bash自动补全相关的程序,有时按下Tab屏幕会闪烁,就与该程序相关。
  • 配置文件:.inputrc

Git 配置

  • 配置文件:.gitconfig

安装使用

  • 替换文件.gitconfig中的名字以及邮箱。
  • cp -rf .shells .vim .vimrc .bashrc .inputrc .gitconfig .pip ~