Skip to content

duzun/dotfiles

Repository files navigation

⊙ dotfiles

My dotfiles (Linux, OSX & Windows) for bash & zsh (and sh) on PC & server & Docker

⚙ Install

with curl:

curl -o- https://raw.githubusercontent.com/duzun/dotfiles/master/install.sh | sh

or with wget:

wget -qO- https://raw.githubusercontent.com/duzun/dotfiles/master/install.sh | sh

or with git:

git clone --recurse-submodules https://github.com/duzun/dotfiles.git ~/.dotfiles && ~/.dotfiles/~/source init

or without git, direct download & unzip:

curl -sLo ~/dotfiles.zip "https://github.com/duzun/dotfiles/archive/master.zip" && unzip ~/dotfiles.zip -d ~ && mv ~/dotfiles-master ~/.dotfiles && ~/.dotfiles/~/source init

If you don't have git, but latter install it and want to setup git:

init_git -f
# or
~/.dotfiles/~/source init_git -f

↻ Update

There is a special alias for updating dotfiles:

.update

You could add the light version of aliases to a Docker image:

ADD https://raw.githubusercontent.com/duzun/dotfiles/master/~/.aliasrc /etc/profile.d/aliases.sh

This is not the full dotfiles environment, but only the most aliases and functions.

🔗 Links

By me a ☕