Dotfiles used on (currently) Arch Linux for the following:
Make sure to install Nerdfonts: https://github.com/ryanoasis/nerd-fonts
The configration uses an install utility, run the utility to see what can be auto-installed.
chmod +x install.sh
./install.shTo Install everything automatically, run the install utility with -a:
./install.sh -a./install.sh tmux to install.
-
Both zsh and vim configration uses fzf.
-
Note: fzf commands in zsh uses ripgrep instead of grep for optimal performance. use the utility to install it as well.
-
Installation
./install.sh cli-tools -n fzf
./install.sh cli-tools -n ripgrepInstall with the provided utility with zsh as argument:
This only installs the configuration
./install.sh zshTo update zsh plugins, run:
./install.sh zsh-update # in dotfiles folder
# Or
dots zsh-update # From anywhereThis will also install any new plugins defined in zshrc
Currently does not support updates from oh-my-zsh plugins
There is a bit of custom logic for shell completion. See zshrc for detail. By default, zsh
compiles and loads completions on every new shell startup. This is slow and annoying, so it is
configured to load once every day.
To reload new completions, f.ex. when installing new programs or adding completion files, run the provided command:
# Reload completions
$ comploadMany programs provide completions by generating this with a command. This must be put in its own
file in $DOTFILES/.local/completions to be loaded.
Example
kubectl completion zsh > $DOTFILES/.local/completions/_kubectlSame installation as with fzf, use cli-tools script to install both vim and neovim
./install.sh vimRun :PlugInstall if it doesn't install automatically when you open vim.
- Note: npm and node.js is required for coc.nvim.
This config currently uses coc.nvim for completion. See here for configuration of language servers.
Make sure to have gnome-tweaks installed and run:
cd ~
dconf load / < dotfiles/ubuntu/saved_settings.dconf
