From 16944d00c18283517b3e282e1bd2cb7a4dee8a36 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 14 Oct 2019 21:19:08 +0300 Subject: [PATCH] Find on OpenBSD 5.9 doesn't have the -delete action, use -exec rm instead. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 03277c9..b6de788 100644 --- a/.bashrc +++ b/.bashrc @@ -111,7 +111,7 @@ alias rc_make="make --directory $HOME --always-make" alias rc_update="rc_make vendored generated" alias gen-ssh-config="rc_make .ssh/config" alias bfg='java -jar $HOME/.local/share/bfg/bfg.jar' -alias prune_docker_remote='find ~/.ssh -maxdepth 1 -type s -name "docker_*" -delete' +alias prune_docker_remote='find ~/.ssh -maxdepth 1 -type s -name "docker_*" -exec rm {} \;' alias close='ssh -fnNTS ~/.ssh/%C.sock -O exit' alias jjb='jenkins-jobs' alias diff='diff --unified' -- GitLab