set MYSHELLCONFIG_BASE if not set in init
This commit is contained in:
parent
0b5c054405
commit
7ba0357cec
1 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,9 @@ mkcd () {
|
||||||
|
|
||||||
sshmyshellconfig() {
|
sshmyshellconfig() {
|
||||||
|
|
||||||
|
[ -z "${MYSHELLCONFIG_BASE+x} ] && MYSHELLCONFIG_BASE=".local/myshellconfig"
|
||||||
|
[ -z "${MYSHELLCONFIG_BASE_PARENT+x} ] && MYSHELLCONFIG_BASE_PARENT="$(dirname $MYSHELLCONFIG_BASE)"
|
||||||
|
|
||||||
if [ $1 == "localhost" ]; then
|
if [ $1 == "localhost" ]; then
|
||||||
CMD=""
|
CMD=""
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue