Skip to content

Arondight/profile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

profile

说明

各式各样的配置文件,都是个人使用的,不过为了今后方便自己多系统使用和今后的迁移,写了一些一键安装配置和依赖的脚本。如果你要使用这些配置,对在你的机器上引发的一切不良后果例如蓝屏和发射核导弹概不负责。

依赖

系统中需要提供以下指令。

awkclangdategitgrepinstalllnmd5summakemkdirmvreadlinkrmtailuniqvimxz

安装

其中根目录下的 install.sh 用于整体的安装,每个子目录下的 check.sh 用于检查系统环境, install.sh 用于备份并复制配置文件, init.sh 用于搭建配置需要的运行环境, install.force.sh 用于手动安装一些可能需要保持机器上独立的配置。

如果看了这些你仍然不知道该怎么做,执行以下命令。

git clone https://github.com/Arondight/profile.git ~/profile
cd ~/profile
./install.sh -a

配置文件的安装使用了 ln 创建软链接,所以一定不要删除 git clone 生成的目录!

插件

当你使用 zshbash 作为登陆 Shell 时,你将可以使用一些插件提供的指令。

指令 作用
profileupdate 更新配置仓库
profilereconf 重设运行环境
oh-my-zsh-upgrade 更新 oh-my-zsh
androidenv 切换到安卓开发环境
apply 补丁操作
archpkg slackpkg 风格的 Arch Linux 包管理器
groot 跳到 git 仓库顶层目录
ipmi ipmitool 封装
less 更舒适的 less
mountcmds 一系列挂载、卸载指令
sshenv ssh 密钥管理器
vman 更舒适的 Manual

插件 custom 会读取文件 ~/.custom_shellrc 中的自定义配置。

版权

MIT-LICENSE