personal-website

source for my personal website regexghost.com
git clone https://git.regexghost.com/personal-website.git
Log | Files | Refs | README

shell-rc-too-long.md (665B)


      1 +++
      2 title = "My .kshrc Is Far Too Long"
      3 datePublished = 2026-07-17
      4 template = "blog-page.html"
      5 +++
      6 
      7 My `~/.kshrc` (equivalent to `~/.bashrc` for `ksh`/`oksh`) is far too long, currently almost 500 lines. Additionally I have a local `aliases.sh` file containing about 100 lines.
      8 
      9 I'm going to make it a mini-project to trim this down a lot, by a) deleting unnecessary stuff and b) moving larger functions into separate files. I'd also like to completely get rid of my local `aliases.sh` file (by local I just mean it's not on GitHub). It contains things which are more private (for example `ssh` aliases for Uni servers), but I should be able to anonymise it all...