add moro, cli productivity tool
This commit is contained in:
parent
eaa45cff1e
commit
325c6849e5
@ -10,7 +10,7 @@ chmod +x ~/.scripts/*.sh
|
|||||||
|
|
||||||
# Install missing package (Linux)
|
# Install missing package (Linux)
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Linux)
|
Linux)
|
||||||
echo "(Linux) Installing Development Tools"
|
echo "(Linux) Installing Development Tools"
|
||||||
yum install sudo -y
|
yum install sudo -y
|
||||||
sudo yum groupinstall 'Development Tools' -y
|
sudo yum groupinstall 'Development Tools' -y
|
||||||
@ -20,7 +20,7 @@ esac
|
|||||||
|
|
||||||
# Install HomeBrew
|
# Install HomeBrew
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
echo "(Mac OS X) installing homebrew"
|
echo "(Mac OS X) installing homebrew"
|
||||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
# Prevent `Error: Your Homebrew is outdated. Please run `brew update`.`
|
# Prevent `Error: Your Homebrew is outdated. Please run `brew update`.`
|
||||||
@ -68,7 +68,7 @@ ln -snf ~/Code/dotfiles/private_dot_config/wtf ~/.config/wtf
|
|||||||
|
|
||||||
# Other symblinks + Install Docker Desktop for Mac
|
# Other symblinks + Install Docker Desktop for Mac
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
echo "(Mac OS X) Adding symbolic links"
|
echo "(Mac OS X) Adding symbolic links"
|
||||||
ln -snf "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
|
ln -snf "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
|
||||||
ln -snf "$HOME/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/Code/User/snippets" "$HOME/Library/Application Support/Code/User/snippets"
|
ln -snf "$HOME/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/Code/User/snippets" "$HOME/Library/Application Support/Code/User/snippets"
|
||||||
@ -80,7 +80,7 @@ esac
|
|||||||
|
|
||||||
# Install dependencies (apps, fonts, ...) with Brew
|
# Install dependencies (apps, fonts, ...) with Brew
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
echo "(Mac OS X) Brew installing stuff (apps, fonts, ...)"
|
echo "(Mac OS X) Brew installing stuff (apps, fonts, ...)"
|
||||||
ln -snf ~/Code/dotfiles/Brewfile ~/Brewfile
|
ln -snf ~/Code/dotfiles/Brewfile ~/Brewfile
|
||||||
brew bundle
|
brew bundle
|
||||||
@ -89,7 +89,7 @@ esac
|
|||||||
|
|
||||||
# Install dependencies (apps, fonts, ...) for CentOS
|
# Install dependencies (apps, fonts, ...) for CentOS
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Linux)
|
Linux)
|
||||||
echo "(CentOS) Installing stuff (apps, ...)"
|
echo "(CentOS) Installing stuff (apps, ...)"
|
||||||
chmod +x ~/Code/dotfiles/centos.sh
|
chmod +x ~/Code/dotfiles/centos.sh
|
||||||
~/Code/dotfiles/centos.sh
|
~/Code/dotfiles/centos.sh
|
||||||
@ -114,7 +114,7 @@ echo "SDKMan updating"
|
|||||||
sdk selfupdate
|
sdk selfupdate
|
||||||
|
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Linux)
|
Linux)
|
||||||
echo '(Linux) Installing ruby'
|
echo '(Linux) Installing ruby'
|
||||||
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
|
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
|
||||||
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
|
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
|
||||||
@ -160,7 +160,7 @@ cd "$HOME" || exit
|
|||||||
|
|
||||||
# OSX Defaults
|
# OSX Defaults
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
echo "(Mac OS X) Loading preferences"
|
echo "(Mac OS X) Loading preferences"
|
||||||
sudo sh .macos
|
sudo sh .macos
|
||||||
;;
|
;;
|
||||||
@ -177,7 +177,7 @@ sudo pip install --upgrade pip
|
|||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
sudo python3 get-pip.py
|
sudo python3 get-pip.py
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
echo "(Mac OS X) Updating PATH for loading pip user installed packages"
|
echo "(Mac OS X) Updating PATH for loading pip user installed packages"
|
||||||
ln -snf /usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
|
ln -snf /usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
|
||||||
export PATH="$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin"
|
export PATH="$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin"
|
||||||
@ -194,16 +194,16 @@ pip install -r requirements.txt
|
|||||||
|
|
||||||
# Install baton (CLI to manage Spotify playback) https://github.com/joshuathompson/baton
|
# Install baton (CLI to manage Spotify playback) https://github.com/joshuathompson/baton
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
echo '(Mac OS X) Installing baton (spotify CLI)'
|
echo '(Mac OS X) Installing baton (spotify CLI)'
|
||||||
curl -sSL https://github.com/joshuathompson/baton/releases/download/0.1.7/baton-0.1.7-darwin-amd64 -o /usr/local/bin/baton && chmod +x /usr/local/bin/baton
|
curl -sSL https://github.com/joshuathompson/baton/releases/download/0.1.7/baton-0.1.7-darwin-amd64 -o /usr/local/bin/baton && chmod +x /usr/local/bin/baton
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux)
|
Linux)
|
||||||
echo '(Linux) Installing baton (spotify CLI)'
|
echo '(Linux) Installing baton (spotify CLI)'
|
||||||
curl -sSL https://github.com/joshuathompson/baton/releases/download/0.1.7/baton-0.1.7-linux-amd64 -o /usr/local/bin/baton && chmod +x /usr/local/bin/baton
|
curl -sSL https://github.com/joshuathompson/baton/releases/download/0.1.7/baton-0.1.7-linux-amd64 -o /usr/local/bin/baton && chmod +x /usr/local/bin/baton
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 'Non supported OS : Installation aborted for baton (spotify CLI)'
|
echo 'Non supported OS : Installation aborted for baton (spotify CLI)'
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
@ -216,6 +216,8 @@ rustup component add rustfmt
|
|||||||
# Install pa11y tool for local webpage accessibility analysis
|
# Install pa11y tool for local webpage accessibility analysis
|
||||||
echo "Installing pa11y tool for local webpage accessibility analysis"
|
echo "Installing pa11y tool for local webpage accessibility analysis"
|
||||||
npm install -g pa11y
|
npm install -g pa11y
|
||||||
|
echo "Installing moro, a productivity CLI tool"
|
||||||
|
npm install -g moro
|
||||||
|
|
||||||
git clone https://github.com/sherlock-project/sherlock.git ~/Code/sherlock
|
git clone https://github.com/sherlock-project/sherlock.git ~/Code/sherlock
|
||||||
cd sherlock || exit
|
cd sherlock || exit
|
||||||
|
@ -5,7 +5,7 @@ sdk selfupdate
|
|||||||
|
|
||||||
# Upgrading HomeBrew stuff
|
# Upgrading HomeBrew stuff
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
echo "(Mac OS X) Homebrew upgrading stuff"
|
echo "(Mac OS X) Homebrew upgrading stuff"
|
||||||
brew update
|
brew update
|
||||||
#brew upgrade
|
#brew upgrade
|
||||||
@ -24,3 +24,4 @@ pip freeze >~/requirements.txt
|
|||||||
# Update VIM plugins installed via Vundle https://github.com/VundleVim/Vundle.vim
|
# Update VIM plugins installed via Vundle https://github.com/VundleVim/Vundle.vim
|
||||||
vim +PluginUpdate +qall >/dev/null
|
vim +PluginUpdate +qall >/dev/null
|
||||||
rustup-update
|
rustup-update
|
||||||
|
npm update -g moro
|
||||||
|
Loading…
Reference in New Issue
Block a user