fish: functions/rmdot: Add a helper to delete all dot files

This commit is contained in:
Sanchayan Maity 2022-04-14 17:38:14 +05:30
parent 61229a685b
commit 2af3965179

View file

@ -0,0 +1,7 @@
function rmdot --description "Remove all dot files from GST_DEBUG_DUMP_DOT_DIR"
if test -d "$GST_DEBUG_DUMP_DOT_DIR"
for i in "$GST_DEBUG_DUMP_DOT_DIR"/*.dot
rm $i
end
end
end