Installation
Git, node.js, aws-cli 를 설치해 준다.
1 2 3 4 5 6 7 8 9
| sudo apt update && sudo apt install git && sudo apt-get update && sudo apt-get install nodejs && sudo apt-get install npm && sudo apt update && # install python to install aws-cli sudo apt install python3-pip && # install pip sudo pip3 install awscli && # install aws-cli sudo apt install awscli
|
Setup Terminal
installation
1 2 3 4 5 6 7 8 9 10 11
| sudo apt-get install terminator && sudo apt-get update && sudo apt upgrade && sudo apt-get install zsh && sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" && chsh -s /usr/bin/zsh root&& # update default shell wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh && # download template sudo su&& cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc ## copy .zshrc template source ~/.zshrc && npm install --global pure-prompt --allow-root --unsafe-perm=true
|
install plugin
1 2 3 4 5
| # zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# zsh-autosuggestions git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
|
~/.zshrc
1 2 3 4 5 6 7
| plugins=( git zsh-syntax-highlighting zsh-autosuggestions ) autoload -U promptinit; promptinit prompt pure
|
install fzf
1 2
| git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf ~/.fzf/install
|
update vs code default terminal
vscode setting
1
| "terminal.integrated.shell.linux":"/usr/bin/zsh"
|
shortcuts
split terminals horizontally: ctrl shift o
split terminals vertically: ctrl shift e
close current panel: ctrl shift w
move terminal: alt + arrow