0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Linux環境でPowerShellのTab補完の挙動をWindows環境と同様にする

Posted at

Linux風にする方法はすぐに見つかったのですが、逆はなかなか見つからなかったので
MacでPowerShellを使う場合も同様です

profile.ps1に追記します

方法1:Tabの挙動を上書きする

profile.ps1
Set-PSReadLineKeyHandler -Key Tab -Function TabCompleteNext
Set-PSReadLineKeyHandler -Key Shift+Tab -Function TabCompletePrevious

方法2:キーバインドをWindowsにする

profile.ps1
Set-PSReadLineOption -EditMode Windows
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?