把 .* 文件迁移到 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 then
SourcePath=$1 SourcePath=$1
else 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 ] if [ ! $SourcePath ]
then then
echo Use default source path: /faronear/lib/sysconfig echo Use default source path: /faronear/lib/sysconfig/home
SourcePath=/faronear/lib/sysconfig SourcePath=/faronear/lib/sysconfig/home
fi fi
fi fi

View File

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

View File

View File