Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuadop/zsh-config
https://github.com/fuadop/zsh-config
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fuadop/zsh-config
- Owner: fuadop
- Created: 2024-08-27T16:15:17.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T16:44:52.000Z (8 days ago)
- Last Synced: 2024-11-06T17:41:09.100Z (8 days ago)
- Language: Shell
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Config Precedence](https://zsh.sourceforge.io/Doc/Release/Files.html#Files)
/etc/zshenv
```zsh
function set_config_path {
if [[ -z "$XDG_CONFIG_HOME" ]]; then
export XDG_CONFIG_HOME="$HOME/.config"
fi
}function set_zsh_files_path {
if [[ -z "$ZDOTDIR" ]]; then
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
fi
}set_config_path
set_zsh_files_pathunfunction set_config_path
unfunction set_zsh_files_path```