GiselleSerate / myaliases

Useful shell aliases and functions.
6 stars 1 forks source link

wsl open cmd overrides default open cmd #90

Closed aryarm closed 3 years ago

aryarm commented 5 years ago

In .bash_nav, we introduce an open command for wsl, but there's actually already an open command. It's symlinked to the openvt command.

ls -l $(which open)
lrwxrwxrwx 1 root root 6 Jan 22  2018 /bin/open -> openvt*

Unfortunately, openvt doesn't seem to work on wsl. @GiselleSerate, should we continue overriding the default open command with our own, or should we rename our open command to something else that won't conflict? Maybe openw for "open in windows"? Or maybe the slightly longer wslopen?

aryarm commented 4 years ago

Also, it's worth noting there already exist many alternatives to our little alias. Here's a good one.

aryarm commented 3 years ago

I'm going to close this because it appears that there is no /bin/open in newer versions of the WSL Ubuntu Distro anymore.

We may still want to remove our open command in favor of a more robust alternative, but that can be an issue for another day...