ref: 789a742be505cac0fee6b437e49cea431004f6e3
parent: 5ac6bd93d37da48d64729d1675c4664a3a7679a5
author: qwx <qwx@sciops.net>
date: Tue May 10 19:34:16 EDT 2022
s: fix name conflict and add default menu commands (use with ^ now)
--- a/bin/s
+++ b/bin/s
@@ -81,8 +81,8 @@
/bin/pc -n | tr -d '
'
}
-# _s # print function signature
-fn s{
+# _sig # print function signature
+fn sig{
sed '1s/.*/!sig &/;q'
}
# _i # find information about selected C function/struct or command
@@ -152,3 +152,10 @@
fn uc{
echo 'x/^(#|\/\/) ?/d'
}
+
+# common menu items
+cat <<!
+M ^W
+M ^R mk install
+M |fmt -l 82
+!