Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

zsh: add the most frequently-used D snippet

  • Loading branch information...
commit db9138d93ee2ca8f6c777395630179aa8630c232 1 parent fc1479f
@proger authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 zsh/zshrc.solaris
View
8 zsh/zshrc.solaris
@@ -36,6 +36,14 @@ bat() {
$capacity $rate $(($capacity / $rate))
}
+kfuntrace() {
+ local fun=$1
+ dtrace -x flowindent \
+ -n ${fun}:entry'{ stack(); self->traced = 1; }' \
+ -n fbt:::'/self->traced/{}' \
+ -n ${fun}:return'{ self->traced = 0 }'
+}
+
export CVS_RSH=ssh
# vim: ft=zsh
Please sign in to comment.
Something went wrong with that request. Please try again.