Skip to content

ysoftman/myenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myenv

개인 환경 백업 및 복구 자동화 스크립트~ 😄

common

myenv 는 ~/workspace/myenv 에 위치해야 한다.

# 설정 및 프로그램 목록등 백업
sh ./backupmysetting.sh

# 전체 설치(아래 모든 설치 스크립트 포함)
sh ./installall.sh

# 기본 설치 환경 구성(zsh, python, ruby ...), 아래 개별 설치시 선행되어야 함
sh ./installcommon.sh

# powerline 폰트 설치
sh ./installpowerlinefont.sh

# zsh 기반 prezto 설치
zsh ./installprezto.zsh

# zsh 기반 oh-my-zsh 설치
zsh ./installohmyzsh.zsh

# 기본 설정 설치(git config, bashrc, zshrc, vimrc ...)
sh ./installconfig.sh

# vim 설치
sh ./installvim.sh

# tmux 플러그인 매니저 설치
sh ./installtmuxplugin.sh

# pip 로 프로그램 설치
sh ./installpip.sh

# rust 설치
sh ./installcargo.sh

# cargo 로 프로그램 설치
sh ./installcargo.sh

# golang 설치
sh ./installgolang.sh

# kubectl/kubecolor 설치
sh ./installkubectl.sh

# nvm 설치
sh ./installnvm.sh

# node 설치(apt 등 패키지 매니저에서 최신 버전을 지원하지 않는 경우에 사용)
sh ./installnode.sh

Mac

# brew 로 프로그램 설치
sh ./installbrew.sh

# chrome, firefox, vscode, iterm 등의 app 설치
sh ./installapp.sh

# iterm-color 설치
sh ./installitermcolor.sh

# vscode settings 적용
sh ./installvscodesettings.sh
  • iterm2 사용시
    • iterm2 > general > selection > application in terminal may access clipboard 활성화(tmux 환경에서 클립보드를 사용하기 위해)
    • iterm2 > profiles > colors > color presets 선택
    • iterm2 > profiles > text > font : 18, font-hack-nerd-font(installbrew.sh 에서 설치함)
    • iterm2 에서 tmux 사용시 더블 클릭은 alt + double click(triple click) 로 사용해야 한다.

Windows

# doskey 로 alias 처럼 별칭 설정
alias.bat

# alacritty settings 적용
installalacrittysettings.bat

# hyper settings 적용
installhypersettings.bat

# vscode settings 적용
installvscodesettings.bat
# wsl 사용시
sh ./installvscodesettings.sh
  • alacritty 사용시
    • 설정 파일은 다른 OS 도 같이 사용하니 윈도우 전용으로 수정하지 않는다. 대신 기본 powershell 에서 wsl 실행하면 된다.
  • windows terminal 사용시

Ubuntu

  • sh > dash 쉘로 링크되어 있어 bash 로 쉘스크립트를 실행하던가 아래와 같이 sh > bash 링크 해준다.
sudo unlink /bin/sh
sudo ln -s /bin/bash /bin/sh