// 输入命令,检查是否有/bin/zsh(macOS自带zsh)cat/etc/shells// 修改默认的bash为zsh,重启Terminalchsh-s/bin/zsh// 检查修改结果,显示/bin/zsh即成功.echo$SHELL 二、安装配置oh-my-zsh // 国内地址安装sh-c"$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"...
"terminal.integrated.defaultProfile.windows":"GitBash", 配置完毕后保存,接下来在vscode中新建终端。发现终端以zsh的方式默认打开。 五、修改zsh主题: image.png 属主目录下找到.zshrc文件后编辑该文件 image.png 将ZSH_THEME选项配置为agnoster,后保存。 若需要配置其他主题,请参考:https://github.com/ohmyzsh/o...
首先安装zsh: sudoapt-getinstall-y zsh 然后按照官网指导安装oh-my-zsh: https://ohmyz.sh/#install 定制主题 用zsh,一定要挑一个自己喜欢的主题。 主题列表:https://github.com/ohmyzsh/ohmyzsh/wiki/Themes 我选择了agnoster主题(似乎挺多人用的) 配置方法就是编辑~/.zshrc,修改此处: 这个主题需要使用P...
「pacman -S git unzip zsh vim」安装git、unzip、zsh、vim 修改terminal前面的外观 (以防万一,关掉软件,按Windows键,搜索「MSYS2 MSYS」,紫色的M图标) 搜索「oh my zsh」或者直接复制这儿的网址「https://ohmyz.sh/」并下滑找到这段代码,或者直接复制: 「sh -c "$(curl -fsSL https://raw.githubuserco...
首先安装zsh: sudo apt-get install -y zsh 1. 然后按照官网指导安装oh-my-zsh: https://ohmyz.sh/#install 1. 定制主题 用zsh,一定要挑一个自己喜欢的主题。 主题列表:https://github.com/ohmyzsh/ohmyzsh/wiki/Themes 我选择了agnoster主题(似乎挺多人用的) ...
在MAC下开发,用的最多的还是终端,我的终端环境是iterm2+ohmyzsh;步入正题前先给大家介绍几个小技巧: 第一个: 打开findle,然后找到我的项目目录,然后我用安装好的Go2shell打开当前目录的终端。如下: 说实话,很方便,总比先打开终端然后一步一步cd进去好多了。相信很多人都知道这个东西,不知道的自己搜名字去下载...
Oh My Zsh 是对主题的进一步扩展,地址:https://github.com/robbyrussell/oh-my-zsh 在终端输入命令 1 sh -c"$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 安装好之后,需要把 Zsh 设置为当前用户的默认 Shell(这样新建标签的时候才会使用 Zsh): ...
"terminal.integrated.profiles.windows": { "Ubuntu-20.04 (WSL)": { "path": "C:\\Windows\\System32\\wsl.exe", "args": [], "icon": "terminal-bash" } }, "terminal.integrated.defaultProfile.windows": "Ubuntu-20.04 (WSL)", 5、安装zsh # 先更新本地包(如果更新过,可以忽略) sudo apt-...
sudo apt install zsh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 下载node、n、git、yarn、nrm、yrm 略 配置windows terminal 打开windows terminal设置 设置defaultProfile即默认打开的terminal {"$schema":"https://aka.ms/terminal-profiles-schema",//"defa...
“terminal.integrated.cursorBlinking”: true, “terminal.integrated.lineHeight”: 1.2, “terminal.integrated.letterSpacing”: 0.1, “terminal.integrated.fontSize”: 15, //字体大小设置 “terminal.integrated.fontFamily”: “Lucida Console”, //字体设置 “terminal.integrated.shell.linux”: “/bin/zsh...