git服务器迁移到美国凤凰城后第一次提交

This commit is contained in:
Luk Lu
2023-03-05 15:23:46 +08:00
parent 2657f84c2c
commit dd3c8ab167
12 changed files with 113 additions and 44 deletions

View File

@@ -51,16 +51,17 @@ alias emacst='emacs -nw'
alias myip='ifconfig | grep netmask'
# Always list long directory and time.
# Set aliases
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias su='su -'
if [[ "$(uname)" = "Darwin" ]];
then
alias l='ls -lG'
alias ll='ls -lGA' # show .xxx
alias dir='ls -lGA'
alias lll='ls -lGa' # show .xxx and . and ..
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias sedi='sed -i ""'
export HOMEBREW_NO_AUTO_UPDATE=true
export BASH_SILENCE_DEPRECATION_WARNING=1
@@ -69,9 +70,6 @@ else
alias ll='ls -lA --color=auto'
alias dir='ls -lA --color=auto'
alias lll='ls -la --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias sedi='sed -i'
export TIME_STYLE='+%Y-%m-%d--%H:%M:%S'
fi
@@ -165,6 +163,7 @@ tp3=/faronear/fon/sysconfig
tp4=/faronear/fon.git/sysconfig
tp5=/mnt/c/faronear/fon.git/sysconfig
tp6=/mnt/d/faronear/fon.git/sysconfig
tp7=/faronear/sysconfig
if [ -d $tp1 ]
then
export PATH=$tp1:$PATH
@@ -183,6 +182,9 @@ then
elif [ -d $tp6 ]
then
export PATH=$tp6:$PATH
elif [ -d $tp7 ]
then
export PATH=$tp7:$PATH
fi
if [ -f ~/.bashrc_custom ]

7
nixhome/.npmrc_taobao Normal file
View File

@@ -0,0 +1,7 @@
registry=https://registry.npm.taobao.org
## npm config set registry https://registry.npm.taobao.org
## npm config set registry https://registry.npmjs.org
## npm config get registry
## npm config ls -l
## npm --registry registry https://registry.npm.taobao.org ...