• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
dwtfukgv
博客园    首页    新随笔    联系   管理    订阅  订阅
linux 漂亮终端配置

安装 Oh My ZSH

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

配置语法高亮

  zsh-syntax-highlighting

配置自动补全

  zsh-autosuggestions.zsh

切换Shell

  chsh -s zsh

➜  qinpeifa cd ~/.oh-my-zsh/lib
➜  lib git:(master) sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
Cloning into 'zsh-syntax-highlighting'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 6574 (delta 1), reused 4 (delta 1), pack-reused 6566
Receiving objects: 100% (6574/6574), 1.36 MiB | 14.00 KiB/s, done.
Resolving deltas: 100% (4433/4433), done.
➜  lib git:(master) ✗ sudo git clone https://github.com/zsh-users/zsh-autosuggestions.git
Cloning into 'zsh-autosuggestions'...
remote: Enumerating objects: 2385, done.
remote: Total 2385 (delta 0), reused 0 (delta 0), pack-reused 2385
Receiving objects: 100% (2385/2385), 541.32 KiB | 68.00 KiB/s, done.
Resolving deltas: 100% (1531/1531), done.
➜  lib git:(master) ✗ echo 'source ~/.oh-my-zsh/lib/zsh-autosuggestions/zsh-autosuggestions.zsh   \n
source ~/.oh-my-zsh/lib/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh'>> ~/.zshrc

  

posted on 2020-04-13 14:11  dwtfukgv  阅读(276)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3