fish: functions/rmdot: Add a helper to delete all dot files
This commit is contained in:
parent
61229a685b
commit
2af3965179
1 changed files with 7 additions and 0 deletions
7
fish/.config/fish/functions/rmdot.fish
Normal file
7
fish/.config/fish/functions/rmdot.fish
Normal 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
|
Loading…
Reference in a new issue