My Ubuntu Config

这篇文章由于篇幅较长,代码较多,博客可能存在解析问题,不能正常显示,我已经将这篇文章,上传到了我的github

下面贴上链接:

https://github.com/K0rz3n/ubuntu-s-config

一、普通桌面环境

最终效果图

1.换源

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cd /etc/apt
cp sources.list sources.list.bak
vim sources.list
apt-get update
apt-get upgrade
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# 源码
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# Canonical 合作伙伴和附加
deb http://archive.canonical.com/ubuntu/ xenial partner
deb http://extras.ubuntu.com/ubuntu/ xenial main

安装 oh-my-zsh

安装
sudo apt-get install zsh
设置zsh 为默认的shell
sudo chsh -s $(which zsh)
安装Oh-My-Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
编辑配置文件
vim  /home/k0rz3n/.zshrc

ZSH_THEME="random"
ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" "ys" )
文章目录
  1. 1. 一、普通桌面环境
    1. 1.1. 最终效果图
    2. 1.2. 1.换源
    3. 1.3. 安装 oh-my-zsh
      1. 1.3.1. 安装
      2. 1.3.2. 设置zsh 为默认的shell
      3. 1.3.3. 安装Oh-My-Zsh
      4. 1.3.4. 编辑配置文件
|