实验室Linux工作站的基本配置说明


发布日期 : 2017-10-22 01:32:55 UTC

访问量: 689 次浏览

实验室工作站安装的Linux为 Debian 与 Ubuntu,下面是一些基本的配置要求。

Bash

配置 Bash 彩色:

cp /etc/skel/.bashrc ~/ && . ~/.bashrc

VIM

安装VIM:

git clone https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

zsh

# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

安装完成用户目录下会出现 .zshrc 文件,环境变量和别名都在这里定义,更改主题需要修改:

ZSH_THEME=”robbyrussell”

这里改为一个比较受欢迎的一款主题

ZSH_THEME="agnoster"

修改Python源:

修改默认编辑器:

update-alternatives --config editor