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
|
||||
|
||||
# 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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue