Skip to content

Instantly share code, notes, and snippets.

@fuginator
fuginator / settings.json
Created January 7, 2026 22:25
How to configure Windows Terminal to eat high F keys, e.g. F13-F20
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command": { "action": "sendInput", "input": "\u0000" },
"id": "User.noOp"
}
],
@fuginator
fuginator / autopwd.md
Last active August 29, 2015 14:03
Automatic return to last pwd on login

Add the following to the end of your bash.rc file

echo "Returning to your last pwd: `cat ~/.lastdir`"
cd `cat ~/.lastdir`

save_pwd() { echo `pwd` > ~/.lastdir;  }
trap save_pwd EXIT

Keybase proof

I hereby claim:

  • I am fuginator on github.
  • I am fugier (https://keybase.io/fugier) on keybase.
  • I have a public key whose fingerprint is 9D85 B216 DE62 1ECD 14C4 BF92 7A3F 1B75 084E EF76

To claim this, I am signing this object: