Skip to content

Plugin solutions to enable shell integration on Windows Terminal for various shells

License

Notifications You must be signed in to change notification settings

digitalguy99/wt-shell-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wt-shell-integration

Plugin solutions to enable shell integration on Windows Terminal for various shells. For more information on shell integration in Windows Terminal, you can go here.

Disclaimer: The plugin solutions described in this page are only those which are not available on the link above.

Table of Contents

zsh

If you have oh-my-zsh, go here. Otherwise:

  1. Run the following command:

    curl -s "https://raw.githubusercontent.com/digitalguy99/wt-shell-integration/main/oh-my-zsh/wt-shell-integration.plugin.zsh" | sed -n '/PROMPT=/s/^[ \t]*//p' >> ~/.zshrc
  2. Reload your zsh configuration:

    . ~/.zshrc

oh-my-zsh

  1. Run the following command:

    curl -L https://api.github.com/repos/digitalguy99/wt-shell-integration/tarball/main | tar -xz --wildcards --strip=2 --one-top-level=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/wt-shell-integration '*/oh-my-zsh/*'
  2. Add wt-shell-integration to plugin in ~/.zshrc

  3. Reload zsh configuration:

    . ~/.zshrc

bash

oh-my-bash

  1. Run the following command:

    curl -kL https://api.github.com/repos/digitalguy99/wt-shell-integration/tarball/main | tar -xz --wildcards --strip=2 --one-top-level=${BASH_CUSTOM:-~/.oh-my-bash/custom}/plugins/wt-shell-integration '*/oh-my-bash/*'
  2. Add wt-shell-integration plugin in ~/.bashrc

  3. Reload bash configuration:

    . ~/.bashrc

PowerShell

  1. Run PowerShell as Administrator.

  2. Install the module:

    Install-Module wt-shell-integration -AllowClobber
  3. Run the following:

    Import-Module wt-shell-integration; ac $profile "`nImport-Module wt-shell-integration" -encoding utf8 -nonewline

About

Plugin solutions to enable shell integration on Windows Terminal for various shells

Topics

Resources

License

Stars

Watchers

Forks