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