Skip to content

wrengr/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

748105e Β· Apr 16, 2024
Apr 6, 2024
Mar 12, 2018
Jul 22, 2017
Feb 5, 2018
Sep 13, 2016
Nov 9, 2021
Oct 5, 2015
Feb 16, 2024
Apr 16, 2024
Aug 9, 2021
Apr 16, 2024
Oct 5, 2015
Aug 11, 2016
Oct 10, 2021
Feb 21, 2024
Mar 12, 2018
Sep 1, 2021
Sep 13, 2016
Sep 12, 2022
Jun 15, 2017
Feb 5, 2024
Sep 23, 2021
Apr 3, 2024
Aug 2, 2017
Oct 5, 2015
Oct 5, 2015
Oct 5, 2015
Jan 4, 2022
Feb 7, 2024
Apr 16, 2024
Oct 10, 2021
Sep 13, 2021

Repository files navigation

~wren

In the sharing spirit of *nix, here are a bunch of my dotfiles, a few random scripts, and other odds and ends. Compared to my old darcs repo for sharing this stuff, I've removed a bunch of the catzen stuff and the old Perl stuff; both of them because I no longer use them and so they're probably bitrotten.

Quick summary of scripts in ~/local/bin

Quality-of-life for Bash

  • _abspath β€” Make a path absolute and canonical.
  • _normalize_space β€” Remove leading/trailing spaces and collapse duplicate space.
  • _shell_quote β€” Single-quote a string, escaping characters as necessary.
  • cal β€” Like the built-in cal, but highlights today.
  • legate β€” Wrapper/enhancement of ssh-agent.
  • ls_all β€” Recursively ls every directory along a path.
  • psed β€” Run a program's output through several sed filters, returning the same exit code as the child program.
    • TODO: rename this not to shadow the Perl Stream Editor (which ships with XCode)

File munging

  • accumulate β€” Combine (key,value) lines into (key, list of values) lines. [Forked]
  • byte-sort β€” Sort lines beginning with human-readable bytesizes.
  • cloc-1.53.pl β€” Count lines of code. [Copied]
  • compressibility β€” Show how much space gzip/bz2 can save. [Copied]
  • dotsort β€” Sort hostnames in the correct way.
  • find-duplicates β€” A wrapper around accumulate to use md5sum.
  • hilight β€” Highlight matches; Γ  la color grep, but without removing non-matching lines.
  • literacy β€” Grep for literate-programming content.

Git subcommands

  • git-bb β€” Enhanced version of git branch -vv.
  • git-parent β€” Figure out the parent of a git branch.
  • git-reparent β€” Try to rebase the current branch onto a new parent.

Misc utilities (actively used)

  • darcs-newfiles β€” Determine which files aren't under darcs control. (like darcs w -ls but can be much faster)
  • showrgb-color.pl β€” Colorized version of showrgb.
  • w3ctime β€” Print the current time in W3C date/time format.

Misc utilities (maybe bitrotten)

  • http-head β€” Get the HTTP header for a URL.
  • kill_dhcp β€” kill DHCP leases on OSX 10.5
  • link_scrape β€” Get all same-domain URLs from a webpage.
  • propagate β€” Push a bunch of files to a bunch of hosts, recursively as needed.

Email

I don't really use Mutt very much anymore, and I never really got super into it, but it's here in case I ever come back to it.

Text Editing

Vim

This is my primary text editor, but I'm far from being a guru with it. If you have any suggestions on improving things, feel free to send me a message.

Emacs

I'm not an emacs person at all. I only ever really use it for Coq, Isabelle, and Agda; since emacs is the only decent way to interact with those languages. So take all this with a grain of salt.

About

🏑 a bunch of *nix configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published