Skip to content

YASoftwareDev/dotfiles

Repository files navigation

Dotfiles

Welcome!

Here are my dotfiles tested and used on Ubuntu 18.04.

TL;DR

git clone https://github.com/YASoftwareDev/dotfiles.git ~/.dotfiles

~/.dotfiles/install.sh - new installation
~/.dotfiles/update.sh - update from time to time

TL;DR - Ubuntu 18.04 Docker

git clone https://github.com/YASoftwareDev/dotfiles.git ~/.dotfiles
docker run -it -e "TERM=xterm-256color" -v /home/${USER}/.dotfiles:/dotfiles ubuntu:18.04 bash -l

and from inside docker

./dotfiles/install.sh

Summary

For new setups you can just run install.sh.

From time to time you want to update your environment to more up to date. update.sh is your friend then.

If you would like to install only part of possible things there are detailed explanation notes at the top of install.sh file.

Good luck and enjoy!

A rationale behind this setup

Most important thing for me is an ability to quickly search for 3 things: files, content of a file and commands.

Fast search Terminal Vim
Files CTRL+T :Files
fzf --preview CTRL+P
z
Files Content rg :Rg
Commands CTRL+R
CTRL+S
zsh-autosuggestions

BIG batteries included

Small batteries included

  • nerd-fonts - Nerd Fonts takes popular programming fonts and adds a bunch of Glyphs.
  • fd - fd is a simple, fast and user-friendly alternative to find.
  • ranger - A VIM-inspired filemanager for the console.
  • tig - Text-mode interface for Git.
  • jq - lightweight and flexible command-line JSON processor.
  • cheat - allows you to create and view interactive cheatsheets on the command-line

Other goodies that you would like to have

Further readings

Todo

  1. Add: sudo apt-get install ruby-full (for highlight in fzf in vim).
  2. Keep custom vim fzf configuration from vim.
  3. Streamline thinking about installation version by providing dedicated versions for: local installation (with sudo), docker installation, installation without sudo
  4. Nerd-fonts are too heavy in current script version - you should rather path individual font that you are using (https://kifarunix.com/install-and-setup-zsh-and-oh-my-zsh-on-ubuntu-20-04 for inspiration).
  5. There are other tools like: exa. But they are not needed for everyone, what to do about it?