Correct rights on mkdir
This commit is contained in:
parent
0d83430714
commit
248bd3c2f4
|
@ -99,7 +99,7 @@ def pdf [arg: string] {
|
||||||
alias rg = rg -uu
|
alias rg = rg -uu
|
||||||
|
|
||||||
# mkdir && cd
|
# 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
|
# run command in background
|
||||||
alias pa = pueue add --immediate
|
alias pa = pueue add --immediate
|
||||||
|
@ -160,3 +160,9 @@ def m [arg: string@_meme] {
|
||||||
mpv (glob ($env.HOME + '/Videos/Memes/' + $arg + '.*') | get 0)
|
mpv (glob ($env.HOME + '/Videos/Memes/' + $arg + '.*') | get 0)
|
||||||
# pactl set-sink-volume 0 $previous_volume
|
# pactl set-sink-volume 0 $previous_volume
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# mkdir with correct rights
|
||||||
|
def mkdir [arg: string] {
|
||||||
|
mkdir $arg
|
||||||
|
chmod 755 $arg
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue