Skip to content

Instantly share code, notes, and snippets.

@Hansanghyeon
Last active October 11, 2022 11:51
Show Gist options
  • Save Hansanghyeon/da5b28a9d880ab466c3318445bf01283 to your computer and use it in GitHub Desktop.
Save Hansanghyeon/da5b28a9d880ab466c3318445bf01283 to your computer and use it in GitHub Desktop.
personal linux preinstall
# docker
alias dps="docker ps"
alias dc="docker-compose"
# git
alias gs="git status"
# utils
alias ip="curl https://checkip.amazonaws.com"
# kubernetes
alias k="kubectl"
# node
alias yarnw="yarn workspace"

스크립트로 모두 설치후에

.zshrc

plugins=(
  git
  autojump
  zsh-autosuggestions
  zsh-syntax-highlighting
)
#!/bin/bash
# TODO
# Update packages
sudo apt-get update
sudo apt-get install -y build-essential curl git zsh
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# install homebrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
# preinstall
brew install gcc
## install zsh plugin
brew install autojump
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
## install program
brew install nvm neovim
### nvm
nvm install --lts
### neovim
### https://nvchad.com/quickstart/install
### nvchad 를 설치하려했으나 웹 콘솔에서는 재대로 보이지 않기 때문에 설치하지 않음
## tmux setting
# https://github.com/gpakosz/.tmux
cd
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment