1
Fork 0
config/bash
2024-05-05 21:13:55 -04:00
..
config bash: add .hushlogin 2023-03-17 15:37:55 -04:00
optional bash: adjust handling of optional ~/.profile.d and ~/.bashrc.d files 2024-05-05 21:13:55 -04:00
scripts bash: tcp-tunnel.sh: clean up the socket files before sleep 2023-09-03 07:18:05 -04:00
README.md bash: adjust handling of optional ~/.profile.d and ~/.bashrc.d files 2024-05-05 21:13:55 -04:00

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.

Optional configuration

  • optional/* - configuration to be symlinked to from ~/.bashrc.d/* and ~/.profile.d/* for optional enhancements

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