如果在wsl系统中并不生效,那么我们可以在.bashrc末尾加上shell代码,当你打开bash时候切换到zsh。 bash -c zsh or if test -t 1; then exec zsh fi 安装oh-my-zsh wget https://files-cdn.cnblogs.com/files/hongdada/install.sh -O - | sh
qhong:x:1000:1000:,,,:/home/qhong:/bin/zsh 1. 2. 如果在wsl系统中并不生效,那么我们可以在.bashrc末尾加上shell代码,当你打开bash时候切换到zsh。 bash -c zsh 1. or if test -t 1; then exec zsh fi 1. 2. 3. 安装oh-my-zsh 进入~/.oh-my-zsh目录后,看看该目录的结构 qhong@hongda:...
WSL2子系统下ubuntu18.04安装oh-my-zsh sudo apt-get install zsh wget --no-check-certificatehttps://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh-O - | sh 第二步出错的话,可以尝试下面的方法 git clonehttps://gitee.com/mirrors/oh-my-zsh.git cd oh-my-zsh cd tools ./install.s...
Windows:推荐通过WSL安装sudo apt install thefuck。 通用:使用pip install thefuck。 配置: 在~/.bashrc或~/.zshrc中添加eval $(thefuck --alias),然后重新加载配置文件source ~/.bashrc或source ~/.zshrc,即可通过输入fuck来修正命令。#命令行界面(CLI) Github链接:链接...
qhong:x:1000:1000:,,,:/home/qhong:/bin/zsh 如果在wsl系统中并不生效,那么我们可以在.bashrc末尾加上shell代码,当你打开bash时候切换到zsh。 bash -c zsh or if test -t 1; then exec zsh fi 安装oh-my-zsh wget https://files-cdn.cnblogs.com/files/hongdada/install.sh -O - | sh ...
这是因为chsh -s /bin/zsh没有起效果,需要采用其他手段更改系统默认bash。推荐(ubuntu 18.04): 下面是问题解决过程: 在WSL中安装了oh my zsh,但是通过MobaXterm登录的话每次默认都是进入bash,需要自己手动打zsh,或者在mobaxterm的session设置中,设置每次进入WSL的session都默认运行zsh: ...
WSL安装配置oh-my-zsh 夜空中最亮的星 能否听清 那仰望的人 心底的孤独和叹息 夜空中最亮的星 能否记起 那曾与我同行 消失在风里的身影 我祈祷拥有一颗透明的心灵 和会流泪的眼睛 给我再去相信的勇气 越过谎言去拥抱你 每当我找不到存在的意义