Personal install script for dotfiles, zsh, asdf and zinit (Debian).
- Debian-based distros
- Superuser rights
ca-certificates
to download the necessary filesgit
- Dotfiles
asdf
- fzf required by zsh-interactive-
zsh-interactive-cd
- lsdeluxe with its custom aliases
zsh
zinit
Note: Files are created in the current user's HOME
folder.
Adding --deps
might be useful, if you do not wish to copy all packages
into the Dockerfile.
This option is not necessary, if all tools are already pre-installed.
curl
gnupg2
keychain
(with--wsl-ssh
)make
openssh-client
forgit
nano
tar
wget
xz-utils
zsh
(with--zsh
)
- GPG private keys must be imported in WSL and trusted
- SSH keys must be imported in WSL
.gitconfig
is imported in WSL- GPG private keys are imported in WSL and trusted
- SSH keys are imported in WSL
- Gpg4win is installed on Windows
- Nerd fonts are installed on Windows (used by zsh and lsdeluxe)
git clone https://github.com/aifrak/dotfiles.git
./dotfiles/install [options...]
Options:
--deps Install all dependencies to install and run the development environment
--docker Install zinit plugins for docker and docker compose
--elixir Add plugins and environment variables for Elixir development
--fonts Install Fira Code from Nerd fonts
--wsl-gpg Setup files used by GPG inside WSL
--wsl-ssh Install dependencies and setup files used by GPG inside WSL
--[no-]asdf [Do not] install asdf (install it by default)
--[no-]zsh [Do not] install zsh (install it by default)
./dotfiles/uninstall
Note: Dependencies are not removed.
./dotfiles/uninstall
(cd ./dotfiles && git fetch && git pull)
./dotfiles/install [install options...]
Answer: Use a font starting with Fura Code
instead of Fira Code
.
Answer: In your .wslconfig add the following lines:
[wsl2]
memory=2GB
Answer: Follow those steps:
- Start or restart
Docker Desktop
. - Open the WSL from a terminal.
keychain
will start an ssh agent and ask your password.
Answer: Open the WSL from a terminal. keychain
will start an ssh agent and
ask your password.
Answer: Type gpg-connect-agent reloadagent /bye