Skip to content

relunctance/env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

env

mac 环境配置

./run.sh {username}

eg:

./run.sh gaoqilin

Linux Centos7环境配置

./run.sh {username}

eg:

./run.sh gaoqilin

#!/bin/sh
base_dir=$(cd "$(dirname "$0")";pwd)
yumbin=`which yum`
if [ "$yumbin" != "" ];then
	sudo yum install bash_completion* bash-completion-extras jq lrzsz
fi

brewbin=`which brew`

if [ "$brewbin" != "" ];then
	brew install bash-completion bash-completion-extras  jq lrzsz
fi

# 注意有些文件不能直接拷贝, 比如 .bash_profile
cp -f $base_dir/.gitconfig $HOME/
cp -f $base_dir/.git-completion.bash $HOME/
cat .bash_profile >> $HOME/.bash_profile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages