Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
be83a6a3
Commit
be83a6a3
authored
Jan 21, 2017
by
neilpang
Browse files
minor, fix alias
parent
f5b546b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
be83a6a3
...
@@ -3699,14 +3699,14 @@ _installalias() {
...
@@ -3699,14 +3699,14 @@ _installalias() {
fi
fi
if
[
"
$_c_home
"
]
;
then
if
[
"
$_c_home
"
]
;
then
_c_entry
=
"--config-home '
$_c_home
'"
_c_entry
=
"
--config-home '
$_c_home
'"
fi
fi
_setopt
"
$_envfile
"
"export LE_WORKING_DIR"
"="
"
\"
$LE_WORKING_DIR
\"
"
_setopt
"
$_envfile
"
"export LE_WORKING_DIR"
"="
"
\"
$LE_WORKING_DIR
\"
"
if
[
"
$_c_home
"
]
;
then
if
[
"
$_c_home
"
]
;
then
_setopt
"
$_envfile
"
"export LE_CONFIG_HOME"
"="
"
\"
$LE_CONFIG_HOME
\"
"
_setopt
"
$_envfile
"
"export LE_CONFIG_HOME"
"="
"
\"
$LE_CONFIG_HOME
\"
"
fi
fi
_setopt
"
$_envfile
"
"alias
$PROJECT_ENTRY
"
"="
"
\"
$LE_WORKING_DIR
/
$PROJECT_ENTRY
$_c_entry
\"
"
_setopt
"
$_envfile
"
"alias
$PROJECT_ENTRY
"
"="
"
\"
$LE_WORKING_DIR
/
$PROJECT_ENTRY$_c_entry
\"
"
_profile
=
"
$(
_detect_profile
)
"
_profile
=
"
$(
_detect_profile
)
"
if
[
"
$_profile
"
]
;
then
if
[
"
$_profile
"
]
;
then
...
@@ -3727,7 +3727,7 @@ _installalias() {
...
@@ -3727,7 +3727,7 @@ _installalias() {
if
[
"
$_c_home
"
]
;
then
if
[
"
$_c_home
"
]
;
then
_setopt
"
$_cshfile
"
"setenv LE_CONFIG_HOME"
" "
"
\"
$LE_CONFIG_HOME
\"
"
_setopt
"
$_cshfile
"
"setenv LE_CONFIG_HOME"
" "
"
\"
$LE_CONFIG_HOME
\"
"
fi
fi
_setopt
"
$_cshfile
"
"alias
$PROJECT_ENTRY
"
" "
"
\"
$LE_WORKING_DIR
/
$PROJECT_ENTRY
$_c_entry
\"
"
_setopt
"
$_cshfile
"
"alias
$PROJECT_ENTRY
"
" "
"
\"
$LE_WORKING_DIR
/
$PROJECT_ENTRY$_c_entry
\"
"
_setopt
"
$_csh_profile
"
"source
\"
$_cshfile
\"
"
_setopt
"
$_csh_profile
"
"source
\"
$_cshfile
\"
"
fi
fi
...
@@ -3739,7 +3739,7 @@ _installalias() {
...
@@ -3739,7 +3739,7 @@ _installalias() {
if
[
"
$_c_home
"
]
;
then
if
[
"
$_c_home
"
]
;
then
_setopt
"
$_cshfile
"
"setenv LE_CONFIG_HOME"
" "
"
\"
$LE_CONFIG_HOME
\"
"
_setopt
"
$_cshfile
"
"setenv LE_CONFIG_HOME"
" "
"
\"
$LE_CONFIG_HOME
\"
"
fi
fi
_setopt
"
$_cshfile
"
"alias
$PROJECT_ENTRY
"
" "
"
\"
$LE_WORKING_DIR
/
$PROJECT_ENTRY
$_c_entry
\"
"
_setopt
"
$_cshfile
"
"alias
$PROJECT_ENTRY
"
" "
"
\"
$LE_WORKING_DIR
/
$PROJECT_ENTRY$_c_entry
\"
"
_setopt
"
$_tcsh_profile
"
"source
\"
$_cshfile
\"
"
_setopt
"
$_tcsh_profile
"
"source
\"
$_cshfile
\"
"
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment