Awesome
dotfiles
This Repository contains my dotfile-configurations managed by:
- chezmoi to version the dotfiles
- zinit to manage my zsh-config and main console-tools as plugins
- and vim-plug to customize my neovim-installation
daily operations
- chezmoi: install and daily operations
# install sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply gaerfield # update chezmoi update # pull latest changes and see diff chezmoi git pull -- --rebase && chezmoi diff # only install dotfiles without management sh -c "$(curl -fsLS chezmoi.io/get)" -- init --one-shot gaerfield
- zinit:
zinit update -p
- nvim:
- Installation:
nvim +silent +PlugInstall +qa
- Update:
nvim +silent +PlugUpdate +PlugUpgrade +qa
- Installation:
pre-requirements
sudo apt install nvim jq
mkdir -p ~/.cache/nvim/{backup,swap,undo,view}
post-install steps
-
create file
$HOME/.zprofile
to enable sets of "expensive" plugins (these are evaluated in$HOME/.config/zsh/packages.zsh
):# desktop export PROFILES=(git-extras kubernetes docker)
-
create file
$HOME/.zlocal
for configurations valid only on current host, i.e.:export PATH=~/.local/bin:$PATH DEFAULT_USER=gaerfield alias pip=pip3 export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle" #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! export SDKMAN_DIR="$HOME/.sdkman" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
-
install remote-server utilities:
sudo apt install -y mosh byobu \ && echo "_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true" >> .zprofile
Additionals
- byobu: tmux config-framework
- solarized gnome-terminal
Non-Console Apps
- Clipboard-Manager: CopyQ
sudo add-apt-repository ppa:hluk/copyq sudo apt update sudo apt install copyq
- devdocs-desktop
- Atom Editor
- Password-Management: Bitwarden
- flameshot
- screenshot command for keyboard-shortcut
flameshot gui -p $HOME/Bilder/screenshots
- screenshot command for keyboard-shortcut
- disk-usage-analyzer baobab
- Offline Documentation Browser zeal
Plugins for future evaluation
Appendix
neovim configuration
Plugins:
- vim-airline/vim-airline: status/tabline for vim
- vim-airline/vim-airline-themes: collection of themes for vim-airline
- junegunn/fzf: the command-line fuzzy finder in vim
- arcticicestudio/nord-vim: nordic colorscheme for vim
zinit managed plugins and config
general
- latest command suggested by zsh-users/zsh-autosuggestions
- z autojump: quickjump into a directory with fzf-support
- powered by clvv/fasd and wookayin/fzf-fasd
- history-search-multi-word
- fzf: the command-line fuzzy finder
- oh-my-zsh/extract: automatically detects the archive-type and extracts it
extract sources.tar.gz
- dbrgn/tealdeer: client for tldr simplified man pages
- stedolan/jq: view, filter or manipulate json files
- mikefarah/yq: view, filter or manipulate yaml files
- BurntSushi/ripgrep: recursively search a directory for regex (very fast)
- monochromegane/the_platinum_searcher: code-search utility
git-extras
- tj/git-extras: GIT utilities -- repo summary, repl, changelog population, author commit percentages and more
- dotzero/git-profile: add and switch between multiple user profiles in your git repositories
- wfxr/forgit: A utility tool powered by fzf for using git interactively.
- jesseduffield/lazygit: git console frontend
- cli/cli: GitHub’s official command line tool
kubernetes
- kubectl:
kubectl
-command including completions - ahmetb/kubectx:
kubectx
: switch the clusterkubens
switch the namespace
- derailed/k9s: extremely fast console frontend for managing any kubernetes cluster
- google/go-jsonnet:
- very fast jsonnet compiler, required by payfree-io/payfree-deployments to generate the kubernetes resources files
- see also jsonnet.org
- jsonnet-bundler/jsonnet-bundler: package-manager for jsonnet, required by payfree-io/payfree-deployments to generate the kubernetes resources files
- istio/istio:
istioctl
-command to install/manage istio within a cluster
gcloud
_gcloud
: completions for gcloud- warrensbox/terraform-switcher: switches between terraform-versions
silent plugins
- direnv: context information about current directory
- romkatv/powerlevel10k: behind the scenes tool for a beautiful shell 'frontend'
- zsh-users/zsh-completions: many command-completions for the zsh
- zdharma-continuum/fast-syntax-highlighting: syntax highlighting on the shell itself
- ohmyzsh/ohmyzsh: while not using it primarily, some plugins and code-completions are taken from it