parent
9f0309e394
commit
e7fb1c9032
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@
|
|||||||
*.swo
|
*.swo
|
||||||
*.DS_STORE
|
*.DS_STORE
|
||||||
*desktop.ini
|
*desktop.ini
|
||||||
|
|
||||||
|
*bin
|
||||||
|
13
install.sh
13
install.sh
@ -1,12 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This file will attempt to automatically configure and install my dotfiles
|
# This file will attempt to automatically configure and install my dotfiles
|
||||||
# This assumes that the following are already installed, perhaps we will attempt to auto-install them in the future
|
# This assumes that the following are already installed and in the PATH; perhaps we will attempt to auto-install them in the future
|
||||||
# tmux
|
# tmux
|
||||||
# vim
|
# vim
|
||||||
# zsh
|
# zsh
|
||||||
# curl
|
# curl
|
||||||
# git
|
# git
|
||||||
|
# php 5.3 or greater
|
||||||
|
|
||||||
# First things first, install oh-my-zsh
|
# First things first, install oh-my-zsh
|
||||||
echo "Installing Oh-My-ZSH"
|
echo "Installing Oh-My-ZSH"
|
||||||
@ -47,6 +48,16 @@ if [[ !-d ~/dotfiles/.bin ]]; then
|
|||||||
mkdir -p ~/dotfiles/.bin
|
mkdir -p ~/dotfiles/.bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Install wp-cli
|
||||||
|
echo "Installing wp-cli"
|
||||||
|
cd ~/dotfiles/.bin
|
||||||
|
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||||
|
chmod a+x wp-cli.phar
|
||||||
|
ln -s ~/dotfiles/.bin/wp-cli.phar ~/bin/wp
|
||||||
|
|
||||||
|
# Since $HOME/bin is in the PATH, this should work
|
||||||
|
wp --info
|
||||||
|
|
||||||
echo "Install done."
|
echo "Install done."
|
||||||
echo "Check tmux, vim, and your shell to verify everything is correct"
|
echo "Check tmux, vim, and your shell to verify everything is correct"
|
||||||
echo "you may need to launch a new instance of your shell"
|
echo "you may need to launch a new instance of your shell"
|
||||||
|
Loading…
Reference in New Issue
Block a user