- Install Basic
sudo apt install vim git tig htop
- Git cz-cli (Ref)
yarn global add commitizen
yarn global add cz-conventional-changelog
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
Add export PATH=$PATH:$HOME/.yarn/bin/ in ~/.zshrc
- Ruby environment with rbenv (Ref)
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
cd ~/.rbenv && src/configure && make -C src
Add below into ~/.zshrc
# Ruby
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
Restart a terminal and install rbenv install plugin(Ref)
mkdir -p "$(rbenv root)"/plugins
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install 2.3.5
- Install Basic
sudo apt install zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
- Setup Plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Write plugins=(zsh-autosuggestions) in ~/.zshrc
- Setup in ~/bashrc
# Switch to ZSH shell
if test -t 1; then
exec zsh
fi
1.Source Code Pro(Ref)
#!/bin/sh
# Userland mode (~$USER/), (~/).
# ~/.fonts is now deprecated and that
#FONT_HOME=~/.fonts
# ~/.local/share/fonts should be used instead
FONT_HOME=~/.local/share/fonts
echo "installing fonts at $PWD to $FONT_HOME"
mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro"
# find "$FONT_HOME" -iname '*.ttf' -exec echo '{}' \;
(git clone \
--branch release \
--depth 1 \
'https://github.com/adobe-fonts/source-code-pro.git' \
"$FONT_HOME/adobe-fonts/source-code-pro" && \
fc-cache -f -v "$FONT_HOME/adobe-fonts/source-code-pro")
- Hack(Ref)