Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

florentinl/omz-wsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OMZ WSL

Oh-My-ZSH plugin for WSL.

Installation

Clone and enable the plugin:

git clone https://github.com/florentinl/omz-wsl.git $ZSH_CUSTOM/plugins/omz-wsl
omz plugin enable omz-wsl

Add symlink to mock xdg-open (useful for some programs that use it):

ln -s $ZSH_CUSTOM/plugins/omz-wsl/open_browser.sh ~/.local/bin/xdg-open

Open programs seemlessly from WSL

cargo doc --open # Now works

Some other tools that try to open a web browser or a file explorer from a terminal (using xdg-open) will also work.

Call windows programs without .exe

Allows to use windows programs without having to add the .exe extension:

wsl -l -v # instead of `wsl.exe -l -v`
echo "Something" | clip # instead of `clip.exe`

Fix explorer.exe path interpretation

explorer nested/folder # Now works
explorer https://github.com # Still works

About

WSL plugin for oh-my-zsh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages