From bf3135ef847c8d6c7f5403a4dd19a413af732d87 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 31 Jan 2016 17:43:32 +0800 Subject: [PATCH] add alias after install --- le.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 670000e2..faf4ae2e 100755 --- a/le.sh +++ b/le.sh @@ -1092,7 +1092,10 @@ install() { _info "Installed to $LE_WORKING_DIR/le.sh" cp le.sh $LE_WORKING_DIR/ chmod +x $LE_WORKING_DIR/le.sh - + + alias le=\"$LE_WORKING_DIR/le.sh\" + alias le.sh=\"$LE_WORKING_DIR/le.sh\" + _profile="$(_detect_profile)" if [ "$_profile" ] ; then _debug "Found profile: $_profile"