Commit Diff


commit - 7ae2ef22ac9c8b95cca7d45608a644d6ef3af34c
commit + 09c1d803fca3ca132827ec69f96b07fc94086f27
blob - 81ad26bc4ddf79595d7a530b5c7ca554c84dac55
blob + e1e684a3cec959f00cd8c3ef1c49fc169f8844e6
--- gen
+++ gen
@@ -39,6 +39,7 @@ rm -f Makefile.local
 
 pair .profile	profile.lp
 pair .kshrc	kshrc.lp
+pair lib/profile rc.lp
 
 conv index	index.lp
 for file in $files; do
blob - /dev/null
blob + c56719f23c1d12747abdd916df7e5b18eacdf637 (mode 644)
--- /dev/null
+++ rc.lp
@@ -0,0 +1,22 @@
+# rc -- run commands
+
+Althought it's not my interactive shell, I do like plan9' rc.  (well,
+the first version was for UNIX if I recall correctly, but...)
+
+My configuration is pretty small, just tweak the prompt
+
+	prompt=('% ' '')
+
+make sure $user and $home are defined
+
+	user=$USER
+	home=$HOME
+
+and some aliases
+
+	fn git { env git --no-pager $* }
+	fn m { make $* }
+
+oh, and make the prompt executable!
+
+	fn % { $* }