I have tested these dotfiles primarily on
- Windows
- MSYS2 with
mintty
- Cygwin with
mintty
- The Windows Subsystem for Linux (versions 1 and 2) with Windows Terminal
- MSYS2 with
- Linux
- Ubuntu/Raspbian (based on Debian)
- CloudLinux (based on CentOS)
- Alpine Linux
- BSD
- FreeBSD
- NetBSD
- OpenBSD
- DragonFly BSD
- Unix
- Solaris 11
- OpenIndiana
.profile
and.shrc
are POSIX-compliant. They provide settings common to most shells and are sourced by the relevantzsh
andbash
dotfiles.- Everything is in
vi
-mode, although inzsh
there are additional key bindings borrowed fromemacs
-mode. - The
tmux
andscreen
prefix key isCtrl-Q
(flow control has been disabled to allow this key binding). If you don't need flow control,Ctrl-Q
is ideal: it does not interfere with any known application's key combinations. - Zenburn colors are used whenever possible (in Vim, obviously, as well as in
tmux
,ls
,grep
, andmintty
-- also see my Zenburn Color Schemes for Windows Terminal).
Clone this repository to a ~/dotfiles
directory (the directory name is hard-coded at the moment) and run the installation script:
git clone https://github.com/agkozak/dotfiles.git "${HOME}/dotfiles"
cd "${HOME}/dotfiles"
./install.sh
That will copy relevant configuration files to your home directory. The files copied depend on what shells or other programs you have installed on your system, so if you install others in the future, run the installation script again or type
update_dotfiles
in any POSIX-compliant shell. update_dotfiles
is a function that pulls in the latest commits to my dotfiles repository and does what is necessary to update the system.
My .zshrc
also provides a zsh_update
function that runs update_dotfiles
and then uses my own plugin manager (zcomet
) to update the various plugins.