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
commit74930061eaf2e5d7a3d8750f0382bd2abfc204c8 (patch)
tree738ae0b61a73ab3382cc4a0a9d522b6d4047a871 /posix-shell/aliases.sh
parent9a65fac036faa39f68796784eda996d0d78e8d75 (diff)
downloaddotfiles-74930061eaf2e5d7a3d8750f0382bd2abfc204c8.tar
dotfiles-74930061eaf2e5d7a3d8750f0382bd2abfc204c8.tar.zst
dotfiles-74930061eaf2e5d7a3d8750f0382bd2abfc204c8.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(\$_)'"