Skip to content

Sarctiann/my_zsh_conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple setup for ZSH

en es

this configuration requires 2 modules from zsh-users:

I use this configuration without significant changes for a long time now, as it satisfies all the requirements that I have to comfortably use the Terminal.

Here a small sample:

sample

In short, it has text highlighting, suggestions, git information, and a different style for python virtual environments.


Instructions

to install zsh, configure sarc style, and add a couple of plugins


  1. To keep things simple, first Open a Terminal located in this folder

  2. Install zsh if you don't already have it on the system:

    sudo apt install zsh

  3. Configure zsh as the default shell in the terminal emulator profile:

    which zsh returns the path of zsh that we need to replace /bin/bash or /usr/bin/bash

    don't use: chsh -s $(which zsh) because we need the system to keep using your default shell

  4. Copy the .zshrc file from this folder and replace the one that was created for us zsh in our home:

    1. Make a backup of .zshrc in case something goes wrong:

    cp ~/.zshrc ~/.zshrc_old

    1. Now:

    (Linux) cp ./linux/.zshrc ~/

    (Mac) cp ./mac/.zshrc ~/

  5. Copy the .zsh folder to our home:

    cp -r ./.zsh ~/

  6. (Linux only) Copy the prompt_sarc_setup file to: /usr/share/zsh/functions/Prompts/

    sudo cp ./prompt_sarc_setup /usr/share/zsh/functions/Prompts/

    (and we put our password)

  7. All that remains is to close and reopen the terminal

    exit and possibly [CTRL] + [SHIFT] + [T] to open ;)

Ready


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages