blob: 3745bcc01651891867bd91e7d4f5e206e32e9740 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
defix() {
for i in "$1"*;do mv "$i" "${i#"$1"}";done
}
rd() { # Rename current directory.
[ "$1" = "" ] && echo "rd: rename directory: new name missing" && return
curr="$(basename "$(pwd)")"
cd ..
mv "$curr" "$1"
cd "$1" || return
}
# pulseaudio - this is a temporary solution
sv() {
pactl set-sink-volume 0 $1%
}
pvd() {
mpv *$1*
}
|