From 7fac184892e197a4f752da5046da54fe698f3d39 Mon Sep 17 00:00:00 2001
From: xengineering <me@xengineering.eu>
Date: Sun, 8 Dec 2024 11:35:53 +0100
Subject: posix-shell: Add myrename

---
 posix-shell/aliases.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/posix-shell/aliases.sh b/posix-shell/aliases.sh
index cb7eb80..1d23f33 100644
--- a/posix-shell/aliases.sh
+++ b/posix-shell/aliases.sh
@@ -17,3 +17,4 @@ alias bt="bluetoothctl"
 alias note='"${EDITOR}" "$(mktemp)"'
 alias nolink='cd $(pwd -P)'
 alias zephyr='export ZEPHYR_BASE="${HOME}/zephyrproject/zephyr" && source "${HOME}/zephyrproject/.venv/bin/activate"'
+alias myrename="perl-rename 's/[^a-zA-Z0-9äöüÄÖÜß\.\/]+/-/g; s/^-+|-+$//g; \$_ = lc(\$_)'"
-- 
cgit v1.2.3-70-g09d2