AutoYADM commit: 2025-03-26 18:30:07
This commit is contained in:
parent
9ae5d4da09
commit
de93c67826
3 changed files with 14 additions and 0 deletions
8
.zsh/functions/ren
Normal file
8
.zsh/functions/ren
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/env zsh
|
||||
function ren {
|
||||
from="$1"
|
||||
to="$2"
|
||||
DIR="${$(realpath "$from")%%$(basename "$from")}"
|
||||
# echo "$DIR"
|
||||
echo "$(realpath "$from")" "$DIR$to"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue