Bash on Ubuntu On Windowsのデフォルトシェルをzsh、あるいはtmuxにする(別解)
zshを使うようになって久しいので、Windowsでもbashではなくzshを使いたいものです。
やりかたはすでにいろいろ挙がっています
ここでは、Windows側からアプローチしてみます。
ステップ1 ショートカットを開く
[Start] > [Bash on Ubuntu on Windows]を右クリック > [More] > [Open File Location]を選びます。
ステップ2 ショートカットのプロパティを開く
Bash on Ubuntu on Windowsファイルを右クリックして[properties]を選びます。
ステップ3 ターゲットを変更
Targetを次のように変更します。
変更前
C:\Windows\System32\bash.exe ~
変更後
C:\Windows\System32\bash.exe ~ -c zsh
ここでzsh
と書かずにtmux
と書けば、いきなりtmux
が起動します。
おしまい
スタートメニューからBash on Ubuntu on Windowsを選んでみてください。
もしすでにタスクバーへピンどめしているときは、もう一度ピンどめしなおしてください。
お疲れ様でした。
Author And Source
この問題について(Bash on Ubuntu On Windowsのデフォルトシェルをzsh、あるいはtmuxにする(別解)), 我々は、より多くの情報をここで見つけました https://qiita.com/sengoku/items/dd3f0f6a13a6e0b925e8著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .