把 .* 文件迁移到 sysconfig/home 目录下
This commit is contained in:
parent
53bd6bbb48
commit
d80e7a7bee
@ -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
|
||||
|
||||
|
@ -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'
|
Loading…
Reference in New Issue
Block a user