Skip to content

Instantly share code, notes, and snippets.

@shokinn
Created April 13, 2017 15:01
Show Gist options
  • Save shokinn/463e217daf3a9f8a7d641fd93354d33e to your computer and use it in GitHub Desktop.
Save shokinn/463e217daf3a9f8a7d641fd93354d33e to your computer and use it in GitHub Desktop.
A little AHK-script to open WSL Terminal and Cmder
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; Start WSL Terminal
#Enter::
Run, C:\tools\wsl-terminal\open-wsl.exe -l
Return
; Open Cmder
#!Enter::
Run, Cmder.exe
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment