Linux & Terminali

~/.bashrc & ~/.zshrc

Në shqip: ~/.bashrc dhe ~/.zshrc

ShpjegimiSQ

Këta skedarë të fshehur ekzekutohen sa herë hap një terminal të ri. Aty vendos alias-et, PATH-in, variablat dhe prompt-in. Pas ndryshimit: hap terminal të ri ose bëj source.

EnglishEN

These hidden files run every time you open a new terminal. That's where you put aliases, PATH, variables and the prompt. After editing: open a new terminal or source them.

Si ta mendosh

Si rutina e mëngjesit që e bën automatikisht sapo zgjohesh.

Lexoje në anglisht

Like a morning routine you do automatically as soon as you wake up.

Shembull kodibash

# ~/.bashrc
export PATH="$HOME/.local/bin:$PATH"
alias gs="git status"

Terma të lidhur