Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ehpc/quake-windows-bash
Quake-like hiding of Windows WSI bash prompt
https://github.com/ehpc/quake-windows-bash
autohotkey bash
Last synced: 14 days ago
JSON representation
Quake-like hiding of Windows WSI bash prompt
- Host: GitHub
- URL: https://github.com/ehpc/quake-windows-bash
- Owner: ehpc
- License: mit
- Created: 2017-10-23T18:48:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-07T07:07:30.000Z (almost 3 years ago)
- Last Synced: 2023-03-11T10:12:40.592Z (over 1 year ago)
- Topics: autohotkey, bash
- Language: AutoHotkey
- Size: 10.7 KB
- Stars: 21
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quake Windows Bash
## Description
This is a simple [AutoHotkey](https://autohotkey.com/) 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*. :floppy_disk:
It uses default minimizing and restoring animations, so there is almost no delay. :zap:
## How to use
It's pretty straightforward: :mouse:
* Download and install [AutoHotkey](https://autohotkey.com/) (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 + ` `` :baby_chick:## Overcoming WSL rendering bug in Tmux & Vim
If you are experiencing some weird :space_invader: 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. :smiley_cat: 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! :yum: