1
0
Fork 0
config/bash
Alan Faubert d1369149b2 bash: tcp-tunnel.sh: clean up the socket files before sleep
In this way, when the user SIGINTs during the sleep, we have already cleaned up.
2023-09-03 07:18:05 -04:00
..
config bash: add .hushlogin 2023-03-17 15:37:55 -04:00
scripts bash: tcp-tunnel.sh: clean up the socket files before sleep 2023-09-03 07:18:05 -04:00
wsl bash: add wsl/*.bashrc 2022-02-06 10:35:57 -05:00
README.md bash: tcp-tunnel.sh: add new script 2023-06-07 18:15:55 -04:00

README.md

Bash

Config

config/* contains code that's symlinked to from ~.

If you create additional ~/.bashrc.d/* or ~/.profile.d/* files, they will also be run when sourcing ~/.bashrc or ~/.profile, respectively. This can be used for additional commands that shouldn't be checked into this repo.

Scripts

  • 2link.sh - create relative symlinks to files or directories from given directory
  • 2path.sh - create symlinks to files or directories from ~/.local/bin, giving unique names to directories
  • syncfiles.sh - given paths to two or more files, prompt to copy the newest one over each of the ones it differs from
  • tcp-tunnel.sh - securely expose a TCP port on machine A to machine B by SSHing from both into a central server

Optional WSL scripts

  • wsl/*.bashrc - scripts to be symlinked to from ~/.bashrc.d/* for optional WSL-specific enhancements