aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclean/bin/install_clean2
-rw-r--r--system/.profile4
2 files changed, 3 insertions, 3 deletions
diff --git a/clean/bin/install_clean b/clean/bin/install_clean
index a47699e..74041df 100755
--- a/clean/bin/install_clean
+++ b/clean/bin/install_clean
@@ -66,7 +66,7 @@ link_local_file lib/exe/bcprelink ~/projects/clean/abc-interpreter/src/bcprelink
link_local_file lib/exe/bcstrip ~/projects/clean/abc-interpreter/src/bcstrip
# completion
-for f in ~/projects/clean/completion/*; do
+for f in ~/projects/clean/bash-completion/*; do
[ -f "$f" ] || continue
base="$(basename "$f")"
if [[ "$base" == "Makefile" ]] || [[ "$base" == "README.md" ]] || [[ "$base" =~ .tar.gz$ ]]; then
diff --git a/system/.profile b/system/.profile
index a50aa68..4637065 100644
--- a/system/.profile
+++ b/system/.profile
@@ -33,12 +33,12 @@ cpmq() {
abcclean() {
find \
- /opt/clean/lib \
+ "$CLEAN_HOME/lib" \
~/projects/clean/{iTasks-SDK,platform,abc-interpreter} \
. \
-name '*.abc' \
-not -name '_system.abc' \
- -exec rm -v {} \;
+ -exec rm {} \;
}
shopt -s globstar