This repository contains dotfiles for several programs. Use stow to propagate them on your system.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo export HOMEBREW_NO_AUTO_UPDATE=1 >> ~/.zshrc
brew install tmux taskwarrior-tui timewarrior dateutils neovim koekeishiya/formulae/yabai koekeishiya/formulae/skhd stow htop jq skhd fzf fd trash-cli ripgrep bat tree-sitter mariadb php-cs-fixer tree watch
brew install --cask docker font-hack mtmr spotify karabiner-elements keepassxc wezterm libreoffice
mkdir ~/.config
stow karabiner mtmr nvim p10k skhd tmux wezterm yabai
sudo nvram AutoBoot=%00
# Optional
pip3 install visidata
brew install openjdk
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> ~/.zshrc
brew install --cask apache-directory-studio
Follow installation instructions for yabai: https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release). Disable System Integrity Protection: https://github.com/koekeishiya/yabai/wiki/Disabling-System-Integrity-Protection#how-do-i-disable-system-integrity-protection.
macOS doesn't let you control the volume of an HDMI audio output. We need a third party app to control the volume:
brew install --cask eqmac
To use the MacBook Pro internal speakers together with external speakers:
- Open Audio MIDI setup.
- Create a Multi-Output Device and add the audio devices you would like to use.
- Change the audio output to Multi-Output Device.
ssh-keygen -t rsa -b 4096 -N '' ~/.ssh/id_rsa
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
sed -i '' 's#ZSH_THEME=".*"#ZSH_THEME="powerlevel10k/powerlevel10k"#' ~/.zshrc
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
sed -i '' 's/plugins=(.*)/plugins=(git gitfast ng supervisor yarn composer docker docker-compose zsh-autosuggestions vi-mode fzf zsh-syntax-highlighting zsh-interactive-cd)/' ~/.zshrc
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
curl https://get.volta.sh | bash
volta install node yarn
cat <<'EOF' >> ~/.zshrc
alias vim="/usr/local/bin/nvim"
export PATH="$HOME/.local/bin:$PATH"
export VISUAL="/usr/local/bin/nvim"
export EDITOR="/usr/local/bin/nvim"
export FZF_DEFAULT_COMMAND="fd --type f --hidden --follow --exclude .git"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
EOF
- Dark Reader
- KeePassXC-Browser
- Ghostery
- uBlock Origin
- Surfingkeys
Custom settings:
settings.tabsThreshold = 0;