commit 2a3d55afab87be603416395b1ffead80bc701af8 Author: thucpham Date: Wed Apr 23 23:28:24 2025 +0200 first commit diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..79b4510 --- /dev/null +++ b/Readme.md @@ -0,0 +1,2 @@ +# Tips +Collection of all tips and command line to make the dev more easier. \ No newline at end of file diff --git a/tips.md b/tips.md new file mode 100644 index 0000000..59ef4fe --- /dev/null +++ b/tips.md @@ -0,0 +1,16 @@ +## Command lines + +### Setup Environment Dev +```bash +sudo apt install zsh +chsh -s /bin/zsh +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions +sed -i '/^plugins=/c\plugins=(git\n zsh-autosuggestions\n )' ~/.zshrc +# if fzf installed through apt is > 0.48 +# sudo apt install fzf +# if fzf installed through apt is < 0.48 +git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf +~/.fzf/install +``` +