mostly a bunch of fixes
[distro-setup] / brc
diff --git a/brc b/brc
index 84837358700987d5510d9d36e2c555d9ffd25e70..7dfaefc6a6e2c952d69b2cc47715e20df1efec84 100644 (file)
--- a/brc
+++ b/brc
@@ -1055,6 +1055,10 @@ etail2() {
 }
 ccomp tail etail etail2
 
+# ran into this online, trying it out
+detach() {
+  ( "$@" &>/dev/null & disown )
+}
 
 showkeys() {
   ssh "$@" cat .ssh/authorized_keys{,2}
@@ -1938,6 +1942,11 @@ reresolv() {
   fi
 }
 
+# add annoyingly long argument which should be the default
+sedi() {
+  sed -i --follow-symlinks "$@"
+}
+
 rmstrips() {
   ssh fencepost head -n 300 /gd/gnuorg/EventAndTravelInfo/rms-current-trips.txt | less
 }