Correct rights on mkdir

This commit is contained in:
Thomas Forgione 2024-04-03 13:34:09 +02:00
parent 0d83430714
commit 248bd3c2f4
1 changed files with 7 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def pdf [arg: string] {
alias rg = rg -uu
# mkdir && cd
def --env mkcd [dir: string] { mkdir $dir; cd $dir }
def --env mkcd [dir: string] { mkdir $dir; chmod 755 $dir; cd $dir }
# run command in background
alias pa = pueue add --immediate
@ -160,3 +160,9 @@ def m [arg: string@_meme] {
mpv (glob ($env.HOME + '/Videos/Memes/' + $arg + '.*') | get 0)
# pactl set-sink-volume 0 $previous_volume
}
# mkdir with correct rights
def mkdir [arg: string] {
mkdir $arg
chmod 755 $arg
}