script syntax
if
if [ -z "$1" ] && [ -z "$2" ]
then
somecode1
elif [ $1 = "run" ]; then
somecode
else
somecode2
fi
단축키
alt+d: 커서부터 오른쪽 단어 삭제
if [ -z "$1" ] && [ -z "$2" ]
then
somecode1
elif [ $1 = "run" ]; then
somecode
else
somecode2
fi
alt+d: 커서부터 오른쪽 단어 삭제