Browse Source

add alias after install

neil 9 years ago
parent
commit
bf3135ef84
1 changed files with 4 additions and 1 deletions
  1. 4 1
      le.sh

+ 4 - 1
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"