diff --git a/.bash_aliases b/.bash_aliases index ab245ad..74b55f9 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -180,6 +180,10 @@ function cntdn() { } function ramdisk() { + if [ -z "$1" ]; then + echo "Error: Ramdisk size not specified." + return 1 + fi if [ ! -d "$HOME/ramdown" ]; then mkdir "$HOME/ramdown" fi