把 .* 文件迁移到 sysconfig/home 目录下

This commit is contained in:
陆柯 2020-07-01 08:52:54 +08:00
parent 53bd6bbb48
commit d80e7a7bee
9 changed files with 5 additions and 4 deletions

View File

@ -7,11 +7,11 @@ if [ $1 ]
then
SourcePath=$1
else
read -p "Enter config source path (leave blank for /faronear/lib/sysconfig) >> " SourcePath
read -p "Enter config source path (leave blank for /faronear/lib/sysconfig/home) >> " SourcePath
if [ ! $SourcePath ]
then
echo Use default source path: /faronear/lib/sysconfig
SourcePath=/faronear/lib/sysconfig
echo Use default source path: /faronear/lib/sysconfig/home
SourcePath=/faronear/lib/sysconfig/home
fi
fi

View File

@ -42,12 +42,13 @@ alias cvs='cvs -z9'
alias ps='ps -elf'
# Always list long directory and time.
if uname | grep 'Darwin';
if [[ "$(uname)" = "Darwin" ]];
then
alias l='ls -lG'
alias ll='ls -lGA' # show .xxx
alias lll='ls -lGa' # show .xxx and . and ..
export HOMEBREW_NO_AUTO_UPDATE=true
export BASH_SILENCE_DEPRECATION_WARNING=1
else
alias l='ls -l --color=auto' # --time-style=long-iso --color=auto'
alias ll='ls -lA --color=auto'

View File

View File