Skip to content

ehpc/quake-windows-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quake Windows Bash

Description

This is a simple AutoHotkey script for enabling Quake-like hiding and showing of Windows WSL bash terminal or Windows Terminal. You just hold down Control key and press Tilde / Backtick. 💾

It uses default minimizing and restoring animations, so there is almost no delay. ⚡

How to use

It's pretty straightforward: 🐭

  • Download and install AutoHotkey (version 2 supported for Windows Terminal)
  • Run quake-windows-bash.ahk or quake-windows-terminal-ahk2.ahk
  • (Optionally) Place quake-windows-bash.ahk or quake-windows-terminal-ahk2.ahk into auto startup folder (Win+R: "shell:startup")
  • Run bash and press CTRL + ` 🐤

Overcoming WSL rendering bug in Tmux & Vim

If you are experiencing some weird 👾 screen perturbations while restoring bash from minimized state, it's probably a bug caused by some incompatibility of WSL with tmux and vim. But do not worry. 😺 I have included some hack which automatically refreshes tmux upon restoring the bash window. You just need to find it in the source code (Ctrl+F: "tmux/vim") and remove the comments (;). Enjoy! 😋

About

Quake-like hiding of Windows WSI bash prompt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published