Use curl or wget to install packages and configures!
Linux only (Ubuntu/Debian, via apt-get).
NOTE: myconfig will OVERWRITE your oh-my-zsh, vim and tmux configures!
The installer asks whether to set up packages, zsh, vim, and tmux
individually (default: yes to all). To automate it (e.g. in CI or Docker),
set the corresponding env var before running the script and its prompt is
skipped: MYCONFIG_SUDOER, MYCONFIG_INSTALL_PACKAGES,
MYCONFIG_INSTALL_ZSH, MYCONFIG_INSTALL_VIM, MYCONFIG_INSTALL_TMUX
(1 or 0). See Testing for the Docker-based test harness.
via curl
bash -c "$(curl -fsSL https://raw.githubusercontent.com/toosyou/myconfig/master/install.sh)"via wget
bash -c "$(wget https://raw.githubusercontent.com/toosyou/myconfig/master/install.sh -O -)"- Only one password is needed to sudo
apt-getandchsh. - Whole installation lasts about one minute, and you're ready to roll!
- zsh
- oh-my-zsh
- bullet-train.zsh
- Which needs powerline compatible fonts like Vim Powerline patched fonts, Input Mono or Monoid.
- zsh-autosuggestions
- zsh-syntax-highlighting
- some aliases with commands that I always type wrong.
- mosh
- vim
- tmux
- mouse support
- Tmux Plugin Manager (tmux >= 2.3)
- tmux-sensible (tmux >= 2.3)
- tmux-resurrect (tmux >= 2.3)
- tmux-yank (tmux >= 2.3)
- tmux-continuum(tmux >= 2.3)
- git
- wget
- python3
- pip3
Dockerfile and test.sh run the installer end-to-end in a disposable
Ubuntu container (as a non-root, sudo-capable user, exercising the same
path a real laptop install takes) and assert that zsh became the login
shell, ~/.tmux.conf/~/.vimrc are wired up, and the Vundle/oh-my-zsh
plugin directories are populated. Run it locally after changing
install.sh:
./test.sh- email: toosyou.tw@gmail.com
