- Install packages. In case of an error try
sudo apt update -y; sudo apt upgrade -y.
sudo apt install zsh python3 git curl tmux pip3
- Install Oh-my-zsh.
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Add plugin zsh-autosuggestions. It suggests commands as you type based on history and completions.
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- Add plugin alias-tips. It helps remembering those shell aliases and Git aliases you once defined.
git clone https://github.com/djui/alias-tips.git ${ZSH_CUSTOM1:-$ZSH/custom}/plugins/alias-tips
- Add plugin zsh-syntax-highlighting. This package provides syntax highlighting for the shell zsh.
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- Replace your
.zshrcfile with uploaded one: draw your attention and write correct directory withoh-my-zshinstalled (line 5, 75); on the line 119 write correct path to the directory withzshinstalled (you may find it withwhich zshcommand). - Update
misc.zsh.
mkdir $ZSH_CUSTOM/lib
cp $ZSH/lib/misc.zsh $ZSH_CUSTOM/lib
vi $ZSH_CUSTOM/lib/misc.zsh
Comment from 3-rd to 16-th lines or replace file with the uploaded one.
- Install Vundle.
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- Replace
.vimrcwith the uploaded one. - Install
vimplugins.
vim +PluginInstall +qall
- Install TPM.
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
- Replace your
.tmux.conffile with uploadedtmux.conf. -
- If you are arleady in
tmux
- If you are arleady in
tmux source ~/.tmux.conf
-
Ctrl+bcommand will be replaced byprefixbutton. Tapprefix+Ito install package.
Usefull buttons: to make horisontal tab: prefix + |, vertical tab — prefix+-, swap between tabs — prefix + arrows; new window — prefix + c, swap between windows — prefix + n (next one), prefix + p (previous one).
After all tranformations reboot your device.
Also really comfortable to use Fira Code as Font weight and add ligatures as here.
In Linux Ubuntu:
- Install
Fira Code
sudo apt install fonts-firacode
- Add new font weight and ligatures to the VS Code. Press
Shift+Ctrl+Pand inputsettings.json. Replace the row withfont weightby
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
- Reload your VS Code.