aboutsummaryrefslogtreecommitdiff
path: root/system/.profile
diff options
context:
space:
mode:
authorCamil Staps2019-05-29 13:44:08 +0200
committerCamil Staps2019-05-29 13:44:08 +0200
commitcd8ad4e745308dc1c6f069f908113cf67addf156 (patch)
treecb554b8dd1577134d01277022af6aa4fc083c84a /system/.profile
parentAdd webcam recorder script (diff)
Rename clean-systemdynamic to abcclean; make bash function to make it easier to extend
Diffstat (limited to 'system/.profile')
-rw-r--r--system/.profile10
1 files changed, 10 insertions, 0 deletions
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