人神都知道OhMyZsh的魔力,那就上吧。当然有人喜欢fish,各有各的好。
环境:WSL2, unbuntu 18.04
一、安装ZSH
(1) 安装

sudo apt-get install -y zsh

(2)验证:

zsh --version

(3)设定默认选项

chsh -s /usr/bin/zsh

二、安装oh-my-zsh
1、下载

git clone https://gitee.com/mirrors/oh-my-zsh.git
songroom@DESKTOP-MEDPUTU:~$ git clone https://gitee.com/mirrors/oh-my-zsh.git
Cloning into 'oh-my-zsh'...
remote: Enumerating objects: 29320, done.
remote: Counting objects: 100% (3158/3158), done.
remote: Compressing objects: 100% (2702/2702), done.
remote: Total 29320 (delta 1690), reused 851 (delta 432), pack-reused 26162
Receiving objects: 100% (29320/29320), 6.45 MiB | 881.00 KiB/s, done.
Resolving deltas: 100% (16855/16855), done.

2、sh install.sh
(1)进入oh-my-zsh下tools

songroom@DESKTOP-MEDPUTU:~$ ls
Manifest.toml  ]        beta  echo   install      machine_learning        oh-my-zsh  pyclick   tdenginesudo   v        xtp_another_old
Project.toml   apt-get  ctp   fosun  julia-1.7.2  machine_learning.ipynb  policy     tdengine  updateapt-get  v_learnsongroom@DESKTOP-MEDPUTU:~/oh-my-zsh$ cd tools

(2)sh install.sh

songroom@DESKTOP-MEDPUTU:~/oh-my-zsh/tools$ sh install.sh
Cloning Oh My Zsh...
remote: Enumerating objects: 1297, done.
remote: Counting objects: 100% (1297/1297), done.
remote: Compressing objects: 100% (1254/1254), done.
remote: Total 1297 (delta 26), reused 1206 (delta 24), pack-reused 0
Receiving objects: 100% (1297/1297), 1.06 MiB | 1.72 MiB/s, done.
Resolving deltas: 100% (26/26), done.
From https://github.com/ohmyzsh/ohmyzsh* [new branch]      master     -> origin/master
Branch 'master' set up to track remote branch 'master' from 'origin'.
Already on 'master'
/home/songroom/oh-my-zsh/toolsLooking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc.Time to change your default shell to zsh:
Do you want to change your default shell to zsh? [Y/n] y
Changing your shell to /usr/bin/zsh...
[sudo] password for songroom:
Shell successfully changed to '/usr/bin/zsh'.__                                     __   ____  / /_     ____ ___  __  __   ____  _____/ /_  / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / /
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  /____/                       ....is now installed!Before you scream Oh My Zsh! look over the `.zshrc` file to select plugins, themes, and options.• Follow us on Twitter: https://twitter.com/ohmyzsh
• Join our Discord community: https://discord.gg/ohmyzsh
• Get stickers, t-shirts, coffee mugs and more: https://shop.planetargon.com/collections/oh-my-zsh➜  tools git:(master) zsh --version

三、设置主题

我看默认主题也不错了,暂时没有别的需求。

四、常用快捷键

1、TAB键 : 智能补全

2、两下TAB键:

3、快速跳转 : cd - 按TAB 键
4、自动跳转:z 命令

Linux: Wsl ubuntu下安装OhMyZsh相关推荐

  1. Linux :debian(ubuntu)下安装和使用haskell

    文章目录 Linux :debian(ubuntu)下安装haskell 安装 使用 Linux :debian(ubuntu)下安装haskell 安装 直接使用apt进行安装: sudo apt- ...

  2. Linux: debian/ubuntu下安装和使用Java 11

    Linux: debian/ubuntu下安装和使用Java 11 只需6行命令: su - echo "deb http://ppa.launchpad.net/linuxuprising ...

  3. Linux: debian/ubuntu下安装和使用Java 8

    Linux: debian/ubuntu下安装和使用Java 8 7行命令解决问题: su - echo "deb http://ppa.launchpad.net/webupd8team/ ...

  4. Linux: debian/ubuntu下安装Neo4j

    文章目录 Linux: debian/ubuntu下安装Neo4j Linux: debian/ubuntu下安装Neo4j Neo4j的官方仓库地址:neo4j/neo4j: Graphs for ...

  5. Linux之Ubuntu下安装屏幕录像软件(SimpleScreenRecorder)【摘抄】

    本博文全文属于摘抄自: (见文末处参考文献)(由于担心原博文丢失,以后查找不到,故此原文摘抄,以备日后多次查阅) 在日常工作中,有时需要对屏幕进行录像,以制作讲解文档等.下面介绍在Linux上安装屏幕 ...

  6. openni linux arm,Ubuntu下安装配置OpenNI实战笔记

    1. 库OpenNI SensorKinect NITE的安装 (1)OpenNI step1 :下载 OpenNI库文件 选择"OpenNI Binaries"->&quo ...

  7. oracle 10g express linux,在Ubuntu下安装Oracle Database 10g Express Edition

    Oracle 10g有一款XE版,意为体验版,限制是不支持多CPU和数据库大小不能超过2G(还有其他的什么,不记得了,Oracle官方网站有写).对于开发的时候调试一下,体验一下还是够用的.关键大小比 ...

  8. cuda安装linux命令,ubuntu下安装cuda的两种方法

    1. 安装方法1 对.其实底部已经有安装说明了,这里再详细说明一下. 首先肯定是将.deb安装包下载到本地. 然后使用ctrl+alt+F1进入终端,使用如下命令关掉图形用户界面: sudo serv ...

  9. linux搭建--ubuntu下安装libvirt注意事项(二)

    必须先安装virtinst再安装libvirt,如果反之,virtinst中的libvirt版本会覆盖之前安装的libvirt

最新文章

  1. 微服务架构_企业中的微服务:敌是友?
  2. C语言经典例22-乒乓球比赛名单问题
  3. 通过注册表修改远程桌面默认3389端口
  4. 数学图形之Boy surface
  5. Python之XML解析详解
  6. idea 15 license server
  7. 操作系统原理,Windows线程调度,引发线程调度的事件,Windows线程优先级,Windows时间配额,Windows线程调度策略,Windows优先级提升事件
  8. Android http proxy server 设置
  9. 2011新版工业技术 中文核心期刊目录总览
  10. ECCV2020 点云处理——A Closer Look at Local Aggregation Operators in Point Cloud Analysis
  11. 频繁默认网关不可用_Win10经常断网提示默认网关不可用的解决方法
  12. 修复SQL2000数据库一致性错误的语句
  13. Vue04- 样式使用
  14. Ubuntu 搜狗输入法 中文 无法切换 英文
  15. 字符串转成压缩bcd码
  16. [PTA]习题11-1 输出月份英文名
  17. Pr CC 2017安装一直提示缺少MSVCR120.dll
  18. TIB上海工作室成立!
  19. web服务器tomcat_扩展Tomcat Web服务器的功能
  20. 惊世骇俗?人工智能完虐柯洁前你要知道这些事儿

热门文章

  1. Neural Body
  2. 四元数(Quaternion)食用指南
  3. 使用线程池的方式压缩图片
  4. Android进阶之视频压缩
  5. Bootstrap点击事件(单击事件及双击事件)
  6. 联合国健康产业基金会与亚非欧多国达成合作意向,共同在健康领域开展多边合作
  7. 万水千山走遍[2011]-三清山
  8. JavaScript 奇技淫巧
  9. windows碎片文件-SHS
  10. 网易云音乐下载软件(下)