Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break up ZSH config files #10

Open
5 tasks done
dysfungi opened this issue Dec 11, 2016 · 1 comment
Open
5 tasks done

Break up ZSH config files #10

dysfungi opened this issue Dec 11, 2016 · 1 comment
Assignees

Comments

@dysfungi
Copy link
Owner

dysfungi commented Dec 11, 2016

Requirements

Dependencies

Pull Requests

Benefits

  • Inclusion of zprofile/zlogin and zlogout allow for specific files to be sourced when shell is a login shell. Useful for printing todo files, fortune, or cowsay files and scripts.
  • Inclusion of zshenv allows for non-interactive shells to still have the proper environment setup. That especially matters for any scripts that use #!/bin/zsh and are run as cronjobs.
  • zshrc is still the primary file with exception of environment variables moving to zshenv.

Research

Specs

Utilize:

  • zshenv
    1. **/*path.zsh (except **/*fpath.zsh)
    2. **/*env.zsh
  • zprofile
    1. **/*profile.zsh
  • zshrc
    1. **/*fpath.zsh
    2. **/*.zsh (except **/*completion.zsh, **/*path.zsh, **/*env.zsh, **/*profile.zsh, **/*login.zsh, **/*logout.zsh)
    3. **/*completion.zsh
  • zlogin
    1. **/*login.zsh
  • zlogout
    1. **/*logout.zsh
@dysfungi dysfungi self-assigned this Dec 11, 2016
dysfungi pushed a commit that referenced this issue Dec 11, 2016
 1. zshenv: path.zsh, env.zsh
 2. zprofile: profile.zsh
 3. zshrc: *.zsh, completion.zsh
 4. zlogin: login.zsh
 5. zlogout: logout.zsh

WIP: #10
dysfungi pushed a commit that referenced this issue Dec 11, 2016
 1. zshenv: *path.zsh, *env.zsh, *alias.zsh, *aliases.zsh
 2. zprofile: *profile.zsh
 3. zshrc: *fpath.zsh, *.zsh, *completion.zsh
 4. zlogin: *login.zsh
 5. zlogout: *logout.zsh

WIP: #10
@dysfungi dysfungi removed the wip label Dec 12, 2016
dysfungi pushed a commit that referenced this issue Dec 17, 2016
dysfungi pushed a commit that referenced this issue Dec 17, 2016
@dysfungi
Copy link
Owner Author

Pending on holman#265

@dysfungi dysfungi reopened this Dec 17, 2016
@dysfungi dysfungi mentioned this issue Dec 17, 2016
8 tasks
dysfungi pushed a commit that referenced this issue Dec 18, 2016
lgo pushed a commit to lgo/dotfiles that referenced this issue Jun 5, 2021
 1. zshenv: path.zsh, env.zsh
 2. zprofile: profile.zsh
 3. zshrc: *.zsh, completion.zsh
 4. zlogin: login.zsh
 5. zlogout: logout.zsh

WIP: dysfungi/dotfiles#10
lgo pushed a commit to lgo/dotfiles that referenced this issue Jun 5, 2021
 1. zshenv: *path.zsh, *env.zsh, *alias.zsh, *aliases.zsh
 2. zprofile: *profile.zsh
 3. zshrc: *fpath.zsh, *.zsh, *completion.zsh
 4. zlogin: *login.zsh
 5. zlogout: *logout.zsh

WIP: dysfungi/dotfiles#10
lgo pushed a commit to lgo/dotfiles that referenced this issue Jun 5, 2021
lgo pushed a commit to lgo/dotfiles that referenced this issue Jun 5, 2021
lgo pushed a commit to lgo/dotfiles that referenced this issue Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant