merge from github
This commit is contained in:
commit
3cb2d2c8b3
19
centos.sh
19
centos.sh
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
cask "java"
|
cask "java"
|
||||||
cask "iterm2"
|
cask "iterm2"
|
||||||
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
|
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
|
||||||
@ -51,17 +52,17 @@ chmod 755 /bin/git-ftp
|
|||||||
|
|
||||||
# Install Golang
|
# Install Golang
|
||||||
yum install golang golang-godoc golang-vet golang-src golang-pkg-linux-amd64 -y
|
yum install golang golang-godoc golang-vet golang-src golang-pkg-linux-amd64 -y
|
||||||
echo 'export GOPATH="$HOME/go"' >> ~/.zshrc
|
echo "export GOPATH=\"$HOME/go\"" >> ~/.zshrc
|
||||||
echo 'export PATH="$GOPATH/bin:$PATH"' >> ~/.zshrc
|
echo "export PATH=\"$GOPATH/bin:$PATH\"" >> ~/.zshrc
|
||||||
. ~/.zshrc
|
. ~/.zshrc
|
||||||
|
|
||||||
# Install Hugo
|
# Install Hugo
|
||||||
mkdir $HOME/src
|
mkdir "$HOME/src"
|
||||||
cd $HOME/src
|
cd "$HOME/src"
|
||||||
git clone https://github.com/gohugoio/hugo.git
|
git clone https://github.com/gohugoio/hugo.git
|
||||||
cd hugo
|
cd hugo
|
||||||
go install --tags extended
|
go install --tags extended
|
||||||
cd $HOME
|
cd "$HOME"
|
||||||
|
|
||||||
# Inet utils
|
# Inet utils
|
||||||
yum -y install telnet ftp rsh traceroute
|
yum -y install telnet ftp rsh traceroute
|
||||||
@ -80,8 +81,8 @@ curl -L http://sourceforge.net/projects/plantuml/files/plantuml.jar/download -o
|
|||||||
|
|
||||||
# Using pyenv to be able to install specific python versions https://stackoverflow.com/questions/49794432/how-to-setup-a-pipenv-python-3-6-project-if-os-python-version-is-3-5
|
# Using pyenv to be able to install specific python versions https://stackoverflow.com/questions/49794432/how-to-setup-a-pipenv-python-3-6-project-if-os-python-version-is-3-5
|
||||||
curl https://pyenv.run | bash
|
curl https://pyenv.run | bash
|
||||||
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
|
echo "export PYENV_ROOT=\"$HOME/.pyenv\"" >> ~/.zshrc
|
||||||
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
|
echo "export PATH=\"$PYENV_ROOT/bin:$PATH\"" >> ~/.zshrc
|
||||||
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc
|
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
yum -y install git gcc zlib-devel bzip2-devel readline-devel sqlite-devel openssl-devel
|
yum -y install git gcc zlib-devel bzip2-devel readline-devel sqlite-devel openssl-devel
|
||||||
@ -160,7 +161,7 @@ cd Bash-Snippets
|
|||||||
git checkout v1.22.1
|
git checkout v1.22.1
|
||||||
./install.sh all
|
./install.sh all
|
||||||
rm -rf Bash-Snippets
|
rm -rf Bash-Snippets
|
||||||
cd $HOME
|
cd "$HOME"
|
||||||
|
|
||||||
# Install googler https://github.com/jarun/googler#installation
|
# Install googler https://github.com/jarun/googler#installation
|
||||||
sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.9/googler && sudo chmod +x /usr/local/bin/googler
|
sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.9/googler && sudo chmod +x /usr/local/bin/googler
|
||||||
@ -193,7 +194,7 @@ yum -y install nmon glances
|
|||||||
# Install Fuzzy finder
|
# Install Fuzzy finder
|
||||||
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
yes | ~/.fzf/install
|
yes | ~/.fzf/install
|
||||||
exec $SHELL
|
exec "$SHELL"
|
||||||
|
|
||||||
# Install diff-so-fancy
|
# Install diff-so-fancy
|
||||||
curl https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party/build_fatpack/diff-so-fancy > /usr/local/bin/diff-so-fancy && chmod +x /usr/local/bin/diff-so-fancy
|
curl https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party/build_fatpack/diff-so-fancy > /usr/local/bin/diff-so-fancy && chmod +x /usr/local/bin/diff-so-fancy
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
# Make sure Code directory exists
|
# Make sure Code directory exists
|
||||||
|
|
||||||
echo "Hello $(whoami)! Let's get you set up."
|
echo "Hello $(whoami)! Let's get you set up."
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
docker_app=$(find /Applications/ \
|
docker_app=$(find /Applications/ \
|
||||||
-name "Docker.app" -maxdepth 1 -mindepth 1 -type d)
|
-name "Docker.app" -maxdepth 1 -mindepth 1 -type d)
|
||||||
if [ -z "$docker_app" ]; then
|
if [ -z "$docker_app" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user