This dotfiles repository contains terminal setup that I personally enjoy and use across different machines. It includes a nice terminal theme, plugins, autocomplete and other features. You can check what specific additions there are in the sections bellow.
Oh-my-zsh is a framework for managing zsh config. Personally, I like the access to plugins it has, both built-in ones and the ones you can add. It also makes it easier to install new themes if you wish to do so.
Powerlevel10K is a nice terminal theme that provides nice customization for you environment. It emphasizes speed, flexibility and experience. I like how it shows git statuses, the color scheme and, if you like it, elapsed time for your commands and when you ran each of them.
Here is how it can look like:
.aliases
file provides useful aliases for common commands. There are aliases
for directory navigation, git, and npm.
This new .vimrc file provides nice theme customization for Vim. It is based on Marcelo de Moraes .vimrc.
Z is one of my favorites.
It marks visited directories, and you can jump to then
with the z [name]
command. You can replace [name]
with part of the name of the
directory you wanna cd
in. The most visited directory that matches the name will
be the target for you cd
.
Zsh syntax highlighting provides syntax highlighting for when commands are correct and for when they're not. Also provides nice color coding.
zsh-autosuggestions is a plugin
that enables fish-like autosuggestions. The suggestions are based on commands typed
before. This proves itself very useful for when there are long commands, such as
channelled exports (e.g. export VAR=long-variable-name && export VAR2=longer-variable-name
).
Instead of remembering the whole commands or having a copy-paste for that, you can start typing
and click right-arrow button, and command gets completed.
Zsh auto-notify enables notifications for commands that take long to execute. This is particularly useful for running unit and integration tests.
You can check the other plugins installed on the list bellow:
Give executing permissions to the scripts. Run the command below.
chmod +x setup.sh install_packages.sh zsh_setup.sh node_setup.sh
Then run the main script:
./setup.sh
You should be good to go :)