From 40e2fb04929864244a5159c3efdcf8f0bec9d7b9 Mon Sep 17 00:00:00 2001 From: goodhumored Date: Sun, 28 Jul 2024 12:13:41 +0300 Subject: [PATCH] README added --- README.md | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..85c2f5c --- /dev/null +++ b/README.md @@ -0,0 +1,83 @@ +# goodhumored dotfiles + +- zsh config +- ohmyzsh +- tmux +- neovim +- midnight commander + +## Prerequisites + +#### Required + +- git +- stow - dotfiles symlink in home +- fzf - for fuzzy search +- neovim - editor + +#### Optional + +- zoxide - better cd +- bat - better cat +- eza - better ls and tree +- fd - better find +- [thefuck](https://github.com/nvbn/thefuck) + +Ubuntu: + +```bash +sudo apt update && sudo apt update +sudo apt install git tmux neovim stow fzf bat eza fd +curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash +``` + +Arch: +```bash +sudo yay -S git tmux neovim zoxide stow fzf bat eza fd +``` + +## Installation + +0. install prerequisites + +1. clone & cd + +```bash +git clone http://github.com/goodhumored/dotfiles +cd dotfiles +``` + +2. install git submodules + +```bash +git submodule update --init --recursive +``` + +3. backup existing config files + +```bash +mv ~/.gitconfig ~/.gitconfig.bak +mv ~/.config/nvim ~/.config/nvim.bak/ +mv ~/.config/mc ~/.config/mc.bak +mv ~/.zshrc ~/.zshrc.bak +mv ~/.oh-my-zsh/ ~/.oh-my-zsh.bak/ +mv ~/.tmux.conf ~/.tmux.conf.bak +mv ~/.tmux/ ~/.tmux.bak +mv ~/.bashrc ~/.bashrc.bak +``` + +4. make symlinks + +```bash +stow . +``` + +5. change shell to zsh + +```bash +chsh $(which zsh) +``` + +6. source tmux.conf + +in tmux press : and type `source ~/.tmux.conf`