AutoYADM commit: 2025-02-24 14:50:11
This commit is contained in:
parent
a558358172
commit
0f32702413
1 changed files with 5 additions and 1 deletions
6
.zshrc
6
.zshrc
|
@ -152,7 +152,11 @@ function mksh() {
|
||||||
/usr/bin/chmod +x "$filepath"
|
/usr/bin/chmod +x "$filepath"
|
||||||
echo "$filepath created."
|
echo "$filepath created."
|
||||||
else
|
else
|
||||||
echo "$filepath already exists or is invalid."
|
if [[ "$filepath" == ".sh" ]]; then
|
||||||
|
echo "You must supply an argument!"
|
||||||
|
else
|
||||||
|
echo "$filepath already exists"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue