markdown 关于超级WSL的哦-my-zsh

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 关于超级WSL的哦-my-zsh相关的知识,希望对你有一定的参考价值。

# Installing Zsh, Ohmyzsh and setting Hyper on WSL

After installing wsl you wont have curl or git so i guess you can figure out and i guess you know about **hyper.is**.

### Install Zsh

```shell
sudo apt-get install zsh
```
### Install Oh My Zsh

```shell
curl -L https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | bash
```

### Configuring Zsh for Start

Just edit .bashrc with nano or vi and add this line to start of file.

```shell
bash -c zsh
```

Now it will start with zsh but it will startup /mnt/c/Users/YourUserName directory and i dont really like it. Lets configure hyper
with home directory.

### Configuring Hyper

Actually hyper has good documentation on settings file but lets just do it together;

```shell
shell: 'C:\\Windows\\System32\\bash.exe',
```
and shell arguments to;

```shell
shellArgs: ['~', '--login'],
```
this will cd on your home directory and thats all.

以上是关于markdown 关于超级WSL的哦-my-zsh的主要内容,如果未能解决你的问题,请参考以下文章

markdown wsl-memo.md

markdown 本地WSL设置

markdown Windows 10 WSL Kali远程桌面协议

wsl2怎么连接本地相机

markdown 在Windows的Linux子系统(WSL)上安装Anaconda

关于WSL(Windows上的Linux子系统)的简单介绍及安装