All Projects → swirepe → personalscripts

swirepe / personalscripts

Licence: other
a peek into what I do during the day

Programming Languages

HTML
75241 projects
python
139335 projects - #7 most used programming language
J
10 projects
shell
77523 projects
perl
6916 projects
ruby
36898 projects - #4 most used programming language

My Personal Scripts

Peter Swire - swirepe.com

What is all this?

.              miscellaneous stuff
rc/            the startup files
bashincludes/  things to be sourced on startup

Highlights

rc/bashrc

This starts everything up, and (of course) is symlinked to ~/.bashrc It loads up everything that needs to be in memory (with toramdisk.sh) and runs it.

bashincludes/alwaysontop.sh

I had a pretty long train commute, and I found that at the end of it, my neck would hurt from hunching. I wrote a thing to keep the input line at the top of the screen in bash.

While it's at it, it:

  • keeps the prompt at the top of the screen
  • clears the screen automatically
  • word wraps
  • lists the contents directories upon entering them
  • lists the git status in directories that have them
  • deemphasizes files that match .gitignore patterns

Start it with autotop

End it with unautotop

Toggle screen clears with autoclear and unautoclear

AutotopScreenCap

bashincludes/believe.sh

With some probability, it will display either "Believe in yourself", a fortune, or nothing.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].