fish: functions/rmdot: Add a helper to delete all dot files
This commit is contained in:
parent
61229a685b
commit
2af3965179
|
@ -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
|
Loading…
Reference in New Issue