美文网首页
ubuntu一些常用配置

ubuntu一些常用配置

作者: 小吵闹123 | 来源:发表于2018-10-03 17:21 被阅读14次

系统

1. 双系统时间问题

装了双系统Windows时间会慢8个小时,是Ubuntu同步时间导致的,用下面这个命令就可以搞定

timedatectl set-local-rtc 1

2. 安装oh-my-zsh

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

3. zsh命令配色

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

然后再~/.zshrc的plugin中添加zsh-syntax-highlighting

plugins=(git zsh-syntax-highlighting)

4. 安装vim配置

项目地址https://github.com/amix/vimrc

git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

在~/.vimrc中加入

set nu

显示行号

应用

1. Ubuntu下自动换壁纸应用

一个好用的换壁纸应用,类似mac上的Irvue,可以下载unsplash的壁纸并自动更换,安装方法

sudo add-apt-repository ppa:peterlevi/ppa
sudo apt-get update
sudo apt-get install variety

相关文章

网友评论

      本文标题:ubuntu一些常用配置

      本文链接:https://www.haomeiwen.com/subject/kizzoftx.html