diff options
-rw-r--r-- | posix-shell/aliases.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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(\$_)'" |