If you have any ideas to improve it, please send PR or issue! Thanks!
Just download the .zshrc
file and put it into your home directory.
Or if you want to keep it updated with Git, do this under you home directory:
$ git clone https://github.com/AlynxZhou/alynx-zsh-config.git
$ ln -s YOUR_FULL_CLONE_PATH/.zshrc ~/.zshrc
oh-my-zsh
is too hugh and I would like a simple configuare.
I never use powerline because it is always hard to align and hard to copy.
Those configuration are from Internet and I collected them.
History is stored in .zhistory
, and it will not load files like .bash_profile
, .xprofile
, they belongs to other programs, Alynx's zsh configuration only care about zsh.
Load sequence:
This will be loaded at first and you can set environment variables that will be used by zsh only. For example, PATH of Homebrew.
Main configuration file.
This will be load at last and you can put your own configuration here. For example, if your autosuggestion plugin is in another dir you can execute it here.
This file is dropped as well as .pam_environment
, you are not supposed to load environment variables with your shell, because there are other programs run before your shell, for example a Desktop Environment in Wayland session which does not depend on shell scripts.
Alynx suggests you to use systemd to load your user environment variables, just create a .conf
file under ~/.config/environment.d/
and fill it with KEY=VALUE
. This supports both Xorg and Wayland sessions.
Apache-2.0