My set of zsh, alacritty, tmux, neovim and git configuration files.
Fira Code Nerd Font
cd ~/Library/Fonts && { wget https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Regular/complete/Fira%20Code%20Regular%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf ; cd -; }
NodeJS
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install node
nvm install v14.17.4
nvm install-latest-npm
npm install --global yarn
TypeScript
npm install -g typescript
Golang
sudo port install go
PHP
sudo port install php80
sudo port install php80-openssl
sudo port install php80-intl
sudo port install php80-mbstring
php80 --version
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
composer --version
Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Haskell
cd /Applications && { wget https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-apple-darwin.tar.xz; cd -; } && tar xzvf /Applications/ghc-9.0.1-x86_64-apple-darwin.tar.xz
cd ghc-9.0.1
./configure
make install
sudo port install stack
stack install ghc-mod hlint hdevtools hfmt
brew install haskell-language-server
Elixir
brew install elixir
Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
cd ~/.oh-my-zsh/themes && { wget https://raw.githubusercontent.com/paimanbandi/lambda-p-zsh-theme/master/lambda-p.zsh-theme ; cd -; }
Alacritty
sudo port install alacritty
Tmux
sudo port install tmux
Neovim
cd /Applications && { wget https://github.com/neovim/neovim/releases/download/v0.5.0/nvim-macos.tar.gz ; cd -; } && tar xzvf /Applications/nvim-macos.tar.gz && ln -s /Applications/nvim-osx64/bin/nvim /usr/local/bin/nvim
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Pynvim
python3 -m pip install --user --upgrade pip
python3 -m pip install --user --upgrade pynvim
MySQL & PostgreSQL Client
brew install mysql-client
brew install libpq
brew link --force libpq
Other tools
sudo port install exa
sudo port install yank
sudo port install fzf
sudo port install fd
sudo port install ripgrep
sudo port install glow
sudo port install wtfutil
sudo port install lazydocker
sudo port install httpie
sudo port install calc
sudo port install git-delta
sudo port install lazygit
sudo port install htop
sudo port install gotop
sudo port install asciidoc
brew install lnav