Skip to content

These files are my personal customization files that I use to personalize my terminal environments (Windows/Linux/Mac).

License

Notifications You must be signed in to change notification settings

zenatuz/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My personal dotfiles

I use this repo to keeping my personal customization files that I use to personalize my terminal experience.

I got this idea from this video https://www.youtube.com/watch?v=AK2JE2YsKto, after that, I got a lot of more customizations.

This can be applied on Linux, Mac or Windows (WSL).

Install script

This script .install.sh can be used do the initial setup the tools (zsh, oh-my-zsh, powerlevel10k theme, oh-my-zsh plugins, brew packages and yadm), and then applies the YADM at the end, which gets the current customizations on your home directory ~/.

Download and execute the script

curl -LO https://raw.githubusercontent.com/zenatuz/dotfiles/main/.install.sh
chmod +x .install.sh
./.install.sh

Prompt

This is how your prompt will look like after cloning the settings with YADM.

  • Home directory

screenshot-01.png

  • Some project with git

screenshot-02.png

To customize the prompt, run p10k configure or edit ~/.p10k.zsh.

Getting the DOTFILEs, only

If you only want to get the files without installing anything new, just use YADM in your home directory.

cd ~
yadm clone git@github.com:zenatuz/dotfiles.git

Brewfile

There is a way to easy install packages for both OSX and Linux using brew and brewfile, it's described on this link https://gist.github.com/ChristopherA/a579274536aab36ea9966f301ff14f3f

Keep brewfile updated

Run this command to update the brew file based on what you are running.

brew bundle dump --file=.brewfile --force

Install all the packages listed on the brewfile

 brew bundle install --file=.brewfile

Font

To enjoy this setting at its utmost performance, install MesloLGS NF Font on your OS, and select MesloLGS NF on your Terminal and Code Editor.

The font is already installed with brew for OSX. This install step is necessary only for Windows/WSL/Linux More info about MesloLGS font can be found on the repo: https://github.com/romkatv/powerlevel10k#manual-font-installation

Windows

Manual Install

Follow instructions from <https://github.com/romkatv/powerlevel10k#manual-font-installation.

Windows with powershell

choco install nerd-fonts-meslo

MacOS with brew

brew install --cask font-meslo-lg-nerd-font

Configure the Font

Windows Terminal

On the terminal settings, click on the terminal you want to change the font (powershell/ubuntu/git bash, etc), go to appearance, then Font face and select MesloLGM Nerd Font.

screenshot-03.png

VSCode

In the VSCode settings.json apply these settings to enable MesloLGS NF on the integrated terminal.

    "terminal.integrated.fontFamily": "MesloLGS NF",

screenshot-04.png

Windows/WSL Additional Settings

It is possible to enforce some resource limitations on the WSL environment.

1 - Turn off all WSL instances such as docker-desktop

wsl --shutdown

2 - Create/Edit the .wslconfig file with this content:

notepad "%HOMEPATH%/.wslconfig"
[wsl2]
memory=4GB   # Limits VM memory in WSL 2 up to 4GB
processors=4 # Makes the WSL 2 VM use two virtual processors

More settings can be seen at the: Official Documentation.

About

These files are my personal customization files that I use to personalize my terminal environments (Windows/Linux/Mac).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published