My dotfiles (Linux, OSX & Windows) for bash & zsh (and sh) on PC & server & Docker
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
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.
- My manjaro-setup scripts