Inspiration:
In order to use tmux-256color
in tmux on macOS, we must install tmux-256color
.
# Absolutely have not verified the safety of this file, use at own risk
curl -LO https://invisible-island.net/datafiles/current/terminfo.src.gz && gunzip terminfo.src.gz
/usr/bin/tic -xe tmux-256color terminfo.src
ln -s ~/.dotfiles/nvim/ ~/.config/nvim
ln -s ~/.dotfiles/fish/ ~/.config/fish
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
ln -s ~/.dotfiles/glances/ ~/.config/glances
ln -s ~/.dotfiles/vscode ~/Library/Application\ Support/Code/User/
ln -s ~/.dotfiles/bin/crontest /usr/local/bin/
- change capslock to control
- make dirs:
- ~/code
- ~/nosync
- git
- tmux
- neovim
- plug: curl -fLo ~/.dotfiles/nvim/autoload/plug.vim --create-dirs
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- plug: curl -fLo ~/.dotfiles/nvim/autoload/plug.vim --create-dirs
- fish
- z
- fzf
- tree
- fd
- node
- npm
- yarn
- Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- hammerspoon
- xcode developer tools (brew does do this)
- refind
Allows us to install packages not available on 18.04 (or newer versions of said packages)
echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee /etc/apt/sources.list.d/backports.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
sudo apt-key adv --keyserver keyserver.ubuntu.com 171 --recv-keys 648ACFD622F3D138
sudo apt-get update
# Ubuntu 20.04 instructions
echo "deb http://deb.debian.org/debian bullseye-backports main" | sudo tee /etc/apt/sources.list.d/backports.list
sudo apt-get install debian-keyring
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
sudo apt-get install tmux/bullseye-backports
sudo add-apt-repository ppa:neovim-ppa/stable
# OR
# sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim
# Plugin Manager
curl -fLo ~/.dotfiles/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fish
curl -s https://api.github.com/repos/sharkdp/bat/releases/latest \
| grep amd64 \
| grep musl \
| cut -d '"' -f 4 \
| wget -qi -
sudo dpkg -i bat*
curl -s https://api.github.com/repos/sharkdp/fd/releases/latest \
| grep amd64 \
| grep -v musl \
| cut -d '"' -f 4 \
| wget -qi -
sudo dpkg -i fd*
# As of 20-10-16
# Alternative
echo "deb http://ftp.debian.org/debian stretch-backports main" | sudo tee /etc/apt/sources.list.d/backports.list
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# sudo apt update
# sudo apt install fzf
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install npm
curl -o- -L https://yarnpkg.com/install.sh | bash
sudo apt install tmux # doesn't install latest
## yah this seems to work
sudo apt install -y build-essential autoconf automake pkg-config libevent-dev libncurses5-dev bison byacc
git clone https://github.com/tmux/tmux.git ~/tmp/tmux; cd ~/tmp/tmux; ./autogen.sh; ./configure && make; sudo make install; tmux kill-server; tmux -V; rm -rf ~/tmp/tmux;
# TPM
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# This seems to update ubuntu python3 as well ¯\_(ツ)_/¯
sudo apt install python3-pip -y
pip3 install glances --user
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# have to run below in bash, fish chokes
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs)
stable"
# FISH VERSION
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository (echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu" (lsb_release -cs) stable)
sudo apt-get update
sudo apt-get install linux-generic-hwe-18.04
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker ops # add my user to docker group
# COMPOSE
sudo curl -L (echo "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-"(uname -s)"-"(uname -m)) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# Should run dotbot
./install
Automatically install latest release for 18.04
curl -s https://api.github.com/repos/jarun/nnn/releases/latest \
| grep ubuntu18 \
| cut -d '"' -f 4 \
| wget -qi -
sudo dpkg -i nnn*