博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Mac下安装zshell
阅读量:4618 次
发布时间:2019-06-09

本文共 590 字,大约阅读时间需要 1 分钟。

Mac 下安装zshell

什么是shell

大多数命令行用户接触最多的是Bash,因为Bash是各个版本操作系统(Linux&Mac)的默认shell。

查看当前使用的shell

$ echo $SHELL

查看系统所支持的shell

$ cat /etc/shells/bin/bash/bin/csh/bin/ksh/bin/sh/bin/tcsh/bin/zsh

切换默认shell

$ chsh -s /bin/zsh

安装 on-my-shell

  • wget

确保安装了wget,使用

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh

  • 手动安装

确认安装了git,使用git clone

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

这时候我查看~/.zshrc,里面用了默认的主题robbyrussell,还可以设置alias, 配置插件等等。

参考

转载于:https://www.cnblogs.com/fanyong/p/4646603.html

你可能感兴趣的文章
短信验证接口网址
查看>>
Geohash距离估算
查看>>
Demon_背包系统(实现装备栏,背包栏,可以切换装备)
查看>>
记录:一次数据库被恶意修改配置文件的问题
查看>>
redis 持久化
查看>>
http协议详解
查看>>
解决Jupyter notebook[import tensorflow as tf]报错
查看>>
Windows平台下使用ffmpeg和segmenter实现m3u8直播点播
查看>>
python网络画图——networkX
查看>>
ubuntu16.04文件形式安装mongodb
查看>>
SpringBoot------ActiveMQ安装
查看>>
详细了解 int? 类型
查看>>
纯js事件注册方法(解决兼容性)
查看>>
字符串匹配 ?kmp : hash
查看>>
mongod.service: control process exited, code=exited status=1
查看>>
vue npm 安装
查看>>
大照片背景在网页设计中应用的精美作品范例(下篇)
查看>>
c# 发送邮件、附件 分类: C# 2014-12-...
查看>>
对360来说,江湖上再无“搜狗”这个传说
查看>>
composer
查看>>