Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkergal/hyperjs-wsl-zsh-powerlevel10k-config-on-windows
Configure your hyper.js terminal with zsh and powerlevel10k theme on windows, with easy default directory
https://github.com/jkergal/hyperjs-wsl-zsh-powerlevel10k-config-on-windows
setup shell terminal tutorial ubuntu windows-10 zsh
Last synced: 1 day ago
JSON representation
Configure your hyper.js terminal with zsh and powerlevel10k theme on windows, with easy default directory
- Host: GitHub
- URL: https://github.com/jkergal/hyperjs-wsl-zsh-powerlevel10k-config-on-windows
- Owner: jkergal
- License: mit
- Created: 2022-02-16T13:34:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-11T17:54:34.000Z (almost 3 years ago)
- Last Synced: 2024-05-21T13:47:42.520Z (8 months ago)
- Topics: setup, shell, terminal, tutorial, ubuntu, windows-10, zsh
- Homepage:
- Size: 10.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Configuration to use Hyper.js as a Zsh terminal with a Windows Subsystem Linux on windows 10, with Oh My Zsh and the Powerlevel10k theme
- Go to : https://dev.to/vsalbuq/how-to-install-oh-my-zsh-on-windows-10-home-edition-49g2
- install Windows Subsystem for Linux (WSL) on Microsoft Store (ex: Ubuntu)
- install zsh
- install oh my zsh
- install powerlevel 10k- install fonts and set it on your terminal app (hyperjs) : https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k
- Go to `C:\Users\YourAccoutName\AppData\Roaming\Hyper`
- Open the file `.hyper`- Around line 95 change params to :
-
`shell: 'C:\\Windows\\System32\\wsl.exe',`
`shellArgs: ['~'],`
- Set default directory path of your zsh terminal
-
`echo "cd ~/path" >> ~/.zshrc`
- If your path is in another disk :
-
`echo "cd mnt/disk_letter/eventually_a_folder" >> ~/.zshrc`- Reinstall node and npm for this shell :
- This is for version 16 (view current LTS version):`curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -`
`sudo apt-get install -y nodejs`- Then install build tools so you can install add-ons for npm later
`sudo apt-get install -y build-essential`
- Now you can type in`npm -v`
`node -v`
`Same thing: nodejs -v`- To summarise, edit ~/.profile and change your PATH to this:
`PATH="$HOME/bin:$HOME/.local/bin:/usr/bin:$PATH"`