In this way, when the user SIGINTs during the sleep, we have already cleaned up. |
||
---|---|---|
.. | ||
config | ||
scripts | ||
wsl | ||
README.md |
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 directory2path.sh
- create symlinks to files or directories from~/.local/bin
, giving unique names to directoriessyncfiles.sh
- given paths to two or more files, prompt to copy the newest one over each of the ones it differs fromtcp-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