Added gitignore, as well as continued migration to ansible

This commit is contained in:
acicchetti 2018-11-12 15:03:43 -05:00
parent 20a619211b
commit 1662bbdb5e
8 changed files with 39 additions and 73 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.retry

View file

@ -1,38 +0,0 @@
#!/usr/bin/env zsh
#iosevka - possibly using a helper tool?
printf "\e[32mMake sure to install Iosevka font\n\e[0m"
#pyenv $PATH - part of .zshenv
printf "\e[32mInstall pyenv if you want it\n\e[0m"
#thefuck $PATH - pip install thefuck
if [[ ! (-x "$(command -v thefuck)") ]]
then
pip install thefuck
fi
#antigen ~/.antigen - git clone https://github.com/zsh-users/antigen.git ~/.antigen
if [[ !(-d $HOME/.antigen/) ]]
then
git clone https://github.com/zsh-users/antigen.git ~/.antigen
fi
#nvim $PATH - pkgmngr install nvim/neovim
if [[ ! ( -x "$(command -v nvim)") ]]
then
if [[ ($(uname) -eq "Darwin") && ( $(command -v brew; echo $?) == 0 ) ]]
then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install neovim
elif [[ ! ( -x "$(command -v pacman)") ]]
then
pacman -Sy neovim
elif [[ ! ( -x "$(command -v apt-get)") ]]
then
apt-get install neovim
elif [[ ! ( -x "$(command -v dnf)") ]]
then
dnf install neovim
else
printf "\e[32m\e[32mCouldn't figure out which package manager you use. Install nvim manually\n\e[0m"
fi
fi
#AndroidSDK ~/Android/sdk - Ugh. Through IDEA?
printf "\e[32mMake sure to install the Android SDK into $HOME/Android\n"

View file

@ -10,7 +10,7 @@
# bold/italic/bold-italic variants. By default they are derived automatically,
# by the OSes font system. Setting them manually is useful for font families
# that have many weight variants like Book, Medium, Thick, etc. For example:
font_family Iosevka Type Regular
font_family Iosevka Custom Regular
# bold_font Operator Mono Medium
# italic_font Operator Mono Book Italic
# bold_italic_font Operator Mono Medium Italic

View file

@ -1,5 +1,11 @@
#!/bin/bash
set -xe
if [[ -f /etc/lsb-release ]]; then
sudo apt -y install zsh git
sudo apt update
sudo apt -y install zsh git python-pip aptitude curl
else
sudo dnf install -y zsh git
sudo dnf install -y zsh git python-pip
fi
pip install ansible

View file

@ -1,7 +1,7 @@
#!/usr/bin/env zsh
set -ex
git pull
# git pull
if [[ `uname` == "Linux" ]]; then
if [[ -f /etc/lsb-release ]]; then

View file

@ -13,3 +13,10 @@
name: "neovim"
state: latest
- name: Install @development-tools
become: yes
become_method: sudo
dnf:
name: "@development-tools"
state: latest

View file

@ -0,0 +1,21 @@
- name: Update Packages
become: yes
become_method: sudo
apt:
name: "*"
state: latest
- name: Install neovim
become: yes
become_method: sudo
apt:
name: "neovim"
state: latest
- name: Install @development-tools
become: yes
become_method: sudo
apt:
name: "build-essential"
state: latest

View file

@ -1,31 +0,0 @@
card spark {
into ~
spark card zsh
spark card neovim
spark card gitconfig
spark card kitty
}
card zsh {
into ~
outof zsh
zshrc -> .zshrc
}
card neovim {
into ~/.config/nvim
outof vim
vimrc -> init.vim
}
card gitconfig {
into ~
outof git
ctct/gitconfig -> .gitconfig
}
card kitty {
into ~/.config/kitty
outof kitty
kitty.conf
}