commit
5470b2f348
@ -81,7 +81,7 @@ snippet getopt
|
|||||||
done
|
done
|
||||||
shift $(($OPTIND-1))
|
shift $(($OPTIND-1))
|
||||||
snippet root
|
snippet root
|
||||||
if [ $(id -u) -ne 0 ]; then exec sudo $0; fi
|
if [ \$(id -u) -ne 0 ]; then exec sudo \$0; fi
|
||||||
snippet fun
|
snippet fun
|
||||||
${1:function_name}() {
|
${1:function_name}() {
|
||||||
${0:#function_body}
|
${0:#function_body}
|
||||||
|
Loading…
Reference in New Issue
Block a user