Skip to content

Instantly share code, notes, and snippets.

@luutuankiet
Last active August 25, 2023 05:16
Show Gist options
  • Save luutuankiet/5deb7fe11c507f0950ffe09ab1c4c4d7 to your computer and use it in GitHub Desktop.
Save luutuankiet/5deb7fe11c507f0950ffe09ab1c4c4d7 to your computer and use it in GitHub Desktop.
# usage : either paste all the contents to terminal or use curl : `curl -fsSL <link to this gist> | bash`
apt-get update && \
# INSTALL ZSH PLUGINS START
apt install -y \
curl git zsh-autosuggestions zsh-syntax-highlighting zsh vim tree && \
export RUNZSH="no" && \
export USER="$(id -u -n)" && \
export ZSH="/root/.oh-my-zsh" && \
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended && \
cd /root/.oh-my-zsh/plugins && \
sed -i '/plugins=(git)/c\plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)' ~/.zshrc && \
git clone https://github.com/zsh-users/zsh-autosuggestions.git && \
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git && \
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git && \
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git && \
# INSTALL ZSH PLUGINS DONE
# INSTALL ken's dotfiles
apt install -y tmux && \
curl -fsSL \
https://raw.githubusercontent.com/luutuankiet/config-backups/main/.tmux.conf \
-o /root/.tmux.conf && \
## set up vundle for vim. when launching vim initially run `:PluginInstall` to install the plugins.
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && \
curl -fsSL \
https://raw.githubusercontent.com/luutuankiet/config-backups/main/.vimrc \
-o /root/.vimrc && \
# INSTALL PROJECT BASED DEPENDENCIES
apt install -y \
python3.11-venv
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment