changeset 274:102305dad796

fun notes to self
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 05 Apr 2013 15:56:46 -0700
parents 71e5879500a7
children 7ffc6b1821f8
files .bashrc .irssi/config
diffstat 2 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Thu Apr 04 21:21:12 2013 -0700
+++ b/.bashrc	Fri Apr 05 15:56:46 2013 -0700
@@ -215,6 +215,7 @@
 
 isrunning() {
 # is a process running? (by name)
+# see also: talos for a better version
     for i in "$@"
     do
 	ps axwww  | grep "$i" | grep -v 'grep'
@@ -224,6 +225,7 @@
 
 killbyname() {
 # kill a process by name
+# see also: talos for a better version
     kill `isrunning "$@" | awk '{ print $1 }' | onelineit.py`
 }
 
@@ -300,6 +302,12 @@
 }
 
 hgrc() {
+# write an hgrc file
+# TODO: in the case you're in an `hg root`...what then?
+# - NOTE: /home/jhammel is an `hg root`, so be careful!
+# There should be a way to update $(hg root)/.hg/hgrc automatically
+# Likewise, git
+# Python script? .dotfile?
 ROOT="${1}"
 echo "[paths]"
 echo "default = ${ROOT}"
@@ -365,5 +373,4 @@
     html2flux.py $MENU > ~/.fluxbox/applications
 fi
 }
-
 regeneratefluxmenu
--- a/.irssi/config	Thu Apr 04 21:21:12 2013 -0700
+++ b/.irssi/config	Fri Apr 05 15:56:46 2013 -0700
@@ -213,3 +213,12 @@
 };
 hilights = ( { text = "jhammel"; } );
 ignores = ( { mask = "JOINS"; level = "QUITS"; } );
+
+# How to save a window buffer [TODO: -> command]
+# http://forums.bsdnexus.com/viewtopic.php?id=1368
+#  all the output from the lastlog command will be saved to a file stored by default in your homedir.
+
+
+# /window log on
+# /lastlog -force
+# /window log off
\ No newline at end of file