A personalized configuration repository for your shell environment, currently featuring a customized .zshrc
setup with Oh My Zsh, Powerlevel10k, and a selection of useful plugins.
Follow these steps to set up the dotfiles on your system:
-
Clone the Repository:
git clone https://github.com/anstapol/dotfiles.git
-
Create a Symbolic Link for
.zshrc
:ln -s dotfiles/.zshrc ~/.zshrc
-
Install Oh My Zsh:
If you haven't installed Oh My Zsh yet, run:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
Install Powerlevel10k Theme:
git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
-
Install Custom Plugins:
git clone --depth=1 https://github.com/ariaieboy/laravel-sail ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/laravel-sail
This configuration leverages Oh My Zsh as the foundation, enhanced with the Powerlevel10k theme for a visually appealing and informative prompt. The following plugins are included to extend functionality:
- alias-finder: Shows matching aliases for the current command. This makes learning new aliases easier.
- aliases: Provides a command to list all available aliases in your terminal.
- docker: Provides completion and useful aliases for managing Docker containers.
- docker-compose: Simplifies Docker Compose command usage with aliases and auto-completions.
- git: Enhances Git command-line capabilities with additional shortcuts and information.
- laravel-sail: Installs helpful aliases for Laravel Sail.
- nvm: Integrates the Node Version Manager (NVM) for easy Node.js version switching.
- zsh-autosuggestions: Suggests commands as you type based on your history and completions.
- zsh-syntax-highlighting: Provides syntax highlighting for your shell commands, making it easier to spot errors.
Ensure you have the following installed:
Feel free to modify the .zshrc
file to suit your preferences. You can add or remove plugins, change themes, and adjust settings as needed.
Happy coding!