summaryrefslogtreecommitdiff
path: root/posix-shell/aliases.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-12-08 11:35:53 +0100
committerxengineering <me@xengineering.eu>2024-12-08 11:35:53 +0100
commit7fac184892e197a4f752da5046da54fe698f3d39 (patch)
tree738ae0b61a73ab3382cc4a0a9d522b6d4047a871 /posix-shell/aliases.sh
parentf1821b802ed33437eb21c7756bc28569ff574589 (diff)
downloaddotfiles-7fac184892e197a4f752da5046da54fe698f3d39.tar
dotfiles-7fac184892e197a4f752da5046da54fe698f3d39.tar.zst
dotfiles-7fac184892e197a4f752da5046da54fe698f3d39.zip
posix-shell: Add myrename
Diffstat (limited to 'posix-shell/aliases.sh')
-rw-r--r--posix-shell/aliases.sh1
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(\$_)'"