WSL에서 open 명령

725 단어 UbuntuWSLtech
미안합니다. 이쪽 기사를 참고하여 알리스를 설정했습니다.
https://www.iplab.cs.tsukuba.ac.jp/~takakura/blog/20200715/

컨디션

  • ubuntu 20.04
  • zsh
  • $ vim .zshrc
    # alias設定
    alias open='cmd.exe /c start $(wslpath -w .)'
    
    # 反映して実行
    $ source .zshrc
    $ open
    '\\wsl$\Ubuntu-20.04\home\tsaeki'
    CMD.EXE was started with the above path as the current directory.
    UNC paths are not supported.  Defaulting to Windows directory.
    
    오픈

    좋은 웹페이지 즐겨찾기