From cd8ad4e745308dc1c6f069f908113cf67addf156 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 29 May 2019 13:44:08 +0200 Subject: Rename clean-systemdynamic to abcclean; make bash function to make it easier to extend --- system/.profile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'system/.profile') diff --git a/system/.profile b/system/.profile index fd8e67f..9c86c79 100644 --- a/system/.profile +++ b/system/.profile @@ -31,6 +31,16 @@ cpmq() { fi } +abcclean() { + find \ + /opt/clean/lib \ + ~/VersionControl/{iTasks-SDK,clean-platform,abc-interpreter} \ + . \ + -name '*.abc' \ + -not -name '_system.abc' \ + -exec rm -v {} \; +} + shopt -s globstar [ "$(tty)" = "/dev/tty1" ] && exec startx -- cgit v1.2.3