No results
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Zsh
This folder holds the main Zsh config (.zshrc) and aliases (.zaliases) used for interactive shells: theme, plugins, PATH, and shortcuts.
What the config does
-
.zshrc- Powerlevel10k – Instant prompt block at top; theme
powerlevel10k/powerlevel10k; config in~/.config/zsh/.p10k.zsh. - Oh My Zsh –
ZSHfrom$ZDOTDIR/oh-my-zsh; plugins: git, zsh-autosuggestions, zsh-syntax-highlighting. - Environment –
XDG_DATA_DIRS(Flatpak etc.),PATHwith~/.local/bin,SSH_AUTH_SOCKfor GNOME keyring/agent. - Sourcing –
.zaliasesfrom$ZDOTDIRor$HOME. - Misc –
PODMAN_COMPOSE_PROVIDER=podman-compose, Spicetify in PATH.
- Powerlevel10k – Instant prompt block at top; theme
-
.zaliases- Shortcuts –
v= nvim,cl= clear,ff= fastfetch;neofetch→ fastfetch. - Redirects –
sudo→ doas;cdgit,cdgitls,cdgitw2i,cdgitw2iofor repo directories. - Git – Short aliases:
g= git,gst,gc,ga,gpl,gpom,gpug/gpuc/gpul/gpuf,gp,gd,gch,gnb,gac,grs,gre,gr,gcl,glg,gt,grm,gb,gbsm/gbss,gbc,gf.
- Shortcuts –
How to use it
- Install Zsh, Oh My Zsh, and Powerlevel10k (and optional: zsh-autosuggestions, zsh-syntax-highlighting).
- Set
ZDOTDIRto~/.config/zsh(e.g. in~/.zshenv:export ZDOTDIR=~/.config/zsh), or symlink/copy.zshrcand.zaliasesto your actual Zsh config location (e.g.~/.zshrcand source.zaliasesfrom there). - Run
p10k configureif you want to change the prompt; the theme config is in~/.config/zsh/.p10k.zsh. - Start Zsh (e.g.
zshor as default login shell). Aliases and PATH will be active; usev,ff,g,gst, etc. as in.zaliases.
File reference
| File | Purpose |
|---|---|
.zshrc |
Theme, Oh My Zsh, plugins, env, source .zaliases |
.zaliases |
Aliases for editor, git, cd, sudo, fastfetch |