diff options
| author | Marc Cornellà <marc@mcornella.com> | 2024-06-15 17:39:32 +0200 |
|---|---|---|
| committer | Marc Cornellà <marc@mcornella.com> | 2024-06-15 17:39:57 +0200 |
| commit | 6fe78e06291bdf6fc62b805b0171e16a6b71eee1 (patch) | |
| tree | 2313a881d008be0597f9dccb8c56ef33a887a3af /templates/zshrc.zsh-template | |
| parent | 0c9b42a863778d67aee22bbd43f296110fe1f047 (diff) | |
| download | zsh-6fe78e06291bdf6fc62b805b0171e16a6b71eee1.tar.gz zsh-6fe78e06291bdf6fc62b805b0171e16a6b71eee1.tar.bz2 zsh-6fe78e06291bdf6fc62b805b0171e16a6b71eee1.zip | |
chore: better document top-level custom files for aliases (#12504)
See discussion in https://github.com/ohmyzsh/ohmyzsh/discussions/12504
Diffstat (limited to 'templates/zshrc.zsh-template')
| -rw-r--r-- | templates/zshrc.zsh-template | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index a73d60799..89fd0780e 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -1,11 +1,11 @@ # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH -# Path to your oh-my-zsh installation. +# Path to your Oh My Zsh installation. export ZSH=$HOME/.oh-my-zsh # Set name of the theme to load --- if set to "random", it will -# load a random theme each time oh-my-zsh is loaded, in which case, +# load a random theme each time Oh My Zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes ZSH_THEME="robbyrussell" @@ -91,9 +91,12 @@ source $ZSH/oh-my-zsh.sh # Compilation flags # export ARCHFLAGS="-arch x86_64" -# Set personal aliases, overriding those provided by oh-my-zsh libs, -# plugins, and themes. Aliases can be placed here, though oh-my-zsh -# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# Set personal aliases, overriding those provided by Oh My Zsh libs, +# plugins, and themes. Aliases can be placed here, though Oh My Zsh +# users are encouraged to define aliases within a top-level file in +# the $ZSH_CUSTOM folder, with .zsh extension. Examples: +# - $ZSH_CUSTOM/aliases.zsh +# - $ZSH_CUSTOM/macos.zsh # For a full list of active aliases, run `alias`. # # Example aliases |
