aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc.d')
-rw-r--r--shellrc.d/dev9
1 files changed, 9 insertions, 0 deletions
diff --git a/shellrc.d/dev b/shellrc.d/dev
new file mode 100644
index 0000000..d14211b
--- /dev/null
+++ b/shellrc.d/dev
@@ -0,0 +1,9 @@
+# vim: ft=sh:
+
+memcheck() {
+ valgrind --track-fds=yes --leak-check=full --track-origins=yes "$@"
+}
+
+massif() {
+ valgrind --tool=massif "$@"
+}