Commit graph

709 commits

Author SHA1 Message Date
Lin Jian 43f45fe24f
zsh: fix the guard variable for /etc/set-environment
This guard variable is written to $out/etc/zshenv using
here-documents, so we need to escape it.
2023-03-29 13:51:26 +08:00
K900 382c756097
Merge pull request #217205 from linj-fork/fix-zsh-set-env
zsh: set environment variables in zshenv instead of zprofile
2023-03-23 18:57:40 +03:00
Weijia Wang 0ddb1461ee
Merge pull request #207395 from r-ryantm/auto-update/grml-zsh-config
grml-zsh-config: 0.19.4 -> 0.19.5
2023-03-17 12:29:27 +02:00
Weijia Wang 1df7332c72
Merge pull request #221161 from r-ryantm/auto-update/oh-my-zsh
oh-my-zsh: 2023-03-06 -> 2023-03-12
2023-03-15 22:30:19 +02:00
R. Ryantm 1dc043677c spaceship-prompt: 4.13.2 -> 4.13.3 2023-03-15 04:15:03 +00:00
R. Ryantm b19b513a93 oh-my-zsh: 2023-03-06 -> 2023-03-12 2023-03-14 12:13:53 +00:00
Lin Jian 8e2e741ab5
zsh: set environment variables in zshenv instead of zprofile
This patch fixes two issues:

1. The file in which environment variables are set is inconsistent.
  - This file sets them in zprofile when programs.zsh.enable is not
  set.
  - Zsh module sets them in zshenv when programs.zsh.enable is set.

2. Setting environment variables in zprofile overrides what users set
in .zshenv.  See these[1] home-manager[2] issues[3].

/etc/profile is also changed to /etc/set-environment. Here is a
comparison:

Using /etc/profile:
- Pros
  - config.environment.shellInit is sourced in all zsh
- Cons
  - config.environment.loginShellInit is also sourced in non-login zsh
  - config.programs.bash.shellInit is also sourced in all zsh
  - config.programs.bash.loginShellInit is also sourced in all zsh

Using /etc/set-environment:
- Pros
  - config.programs.bash.shellInit is not sourced in any zsh
  - config.programs.bash.loginShellInit is not sourced in any zsh
- Cons
  - config.environment.shellInit is not sourced in any zsh
  - config.environment.loginShellInit is not sourced in any zsh

[1]: https://github.com/nix-community/home-manager/issues/2751#issuecomment-1048682643
[2]: https://github.com/nix-community/home-manager/issues/2991
[3]: https://github.com/nix-community/home-manager/issues/3681#issuecomment-1436054233
2023-03-13 17:25:04 +08:00
R. Ryantm 68852fbe7c oh-my-zsh: 2023-03-04 -> 2023-03-06 2023-03-07 03:56:25 +00:00
R. Ryantm f7bc732830 oh-my-zsh: 2023-03-01 -> 2023-03-04 2023-03-05 11:36:52 +00:00
Weijia Wang d24cb3711e
Merge pull request #219224 from r-ryantm/auto-update/spaceship-prompt
spaceship-prompt: 4.13.1 -> 4.13.2
2023-03-03 22:04:51 +02:00
Weijia Wang cc3cddc25f
Merge pull request #219278 from r-ryantm/auto-update/zsh-forgit
zsh-forgit: 23.02.0 -> 23.03.0
2023-03-03 21:47:48 +02:00
Mario Rodas 39a9b1897e
Merge pull request #219113 from r-ryantm/auto-update/oh-my-zsh
oh-my-zsh: 2023-02-23 -> 2023-03-01
2023-03-03 06:32:29 -05:00
R. Ryantm 3937eb869a zsh-forgit: 23.02.0 -> 23.03.0 2023-03-03 00:50:48 +00:00
R. Ryantm e367ea697b spaceship-prompt: 4.13.1 -> 4.13.2 2023-03-02 20:00:12 +00:00
R. Ryantm 68fe9c3e3d oh-my-zsh: 2023-02-23 -> 2023-03-01 2023-03-02 04:22:05 +00:00
R. Ryantm 5c16cfc824 zimfw: 1.11.2 -> 1.11.3 2023-03-02 01:36:07 +00:00
Weijia Wang ae27e61481
Merge pull request #211753 from r-ryantm/auto-update/zsh-prezto
zsh-prezto: unstable-2023-01-12 -> unstable-2023-01-31
2023-02-26 01:01:40 +02:00
R. Ryantm 19d6a0cecb oh-my-zsh: 2023-02-16 -> 2023-02-23 2023-02-24 13:38:31 +00:00
Joe DeVivo b348e7ef9f
zimfw: fix generated init.zsh to use $out 2023-02-23 09:59:14 -07:00
R. Ryantm f8d68cd3fd zimfw: 1.11.1 -> 1.11.2 2023-02-21 04:11:33 +00:00
R. Ryantm 68329697a6 oh-my-zsh: 2023-02-05 -> 2023-02-16 2023-02-16 12:56:07 +00:00
R. Ryantm fc334fd76c zsh-prezto: unstable-2023-01-12 -> unstable-2023-01-31 2023-02-09 11:47:24 +00:00
R. Ryantm 7ce6fb77e8 zimfw: 1.11.0 -> 1.11.1 2023-02-07 13:12:19 +00:00
R. Ryantm d37ecf3523 oh-my-zsh: 2023-02-02 -> 2023-02-05 2023-02-06 08:12:43 +00:00
R. Ryantm 58ac9e054e zsh-forgit: 23.01.0 -> 23.02.0 2023-02-04 09:28:47 +00:00
Fugi 8236410735
agdsn-zsh-config: init at 0.6.0 2023-02-03 02:19:15 +01:00
R. Ryantm b653c21cd1 oh-my-zsh: 2023-01-26 -> 2023-02-02 2023-02-02 22:19:35 +00:00
zowoq 978eeec74c nix-zsh-completions: 0.4.4 -> unstable-2023-01-30
upstream has removed nix command completion

https://github.com/nix-community/nix-zsh-completions/compare/0.4.4...6a1bfc024481bdba568f2ced65e02f3a359a7692
2023-01-31 08:24:01 +10:00
Weijia Wang 84eed3e542
Merge pull request #212764 from r-ryantm/auto-update/oh-my-zsh
oh-my-zsh: 2023-01-17 -> 2023-01-26
2023-01-30 03:47:22 +01:00
Martin Weinelt 44533f5954
zsh-powerlevel10k: 1.16.1 -> 1.17.0
https://github.com/romkatv/powerlevel10k/releases/tag/v1.17.0
https://github.com/romkatv/gitstatus/releases/tag/v1.5.4
2023-01-28 20:32:39 +01:00
R. Ryantm 607af43f1b oh-my-zsh: 2023-01-17 -> 2023-01-26 2023-01-27 08:46:36 +00:00
Silvan Mosberger ebc0798e95 zsh-clipboard: Make independent of Nix file
This way, changing the Nix file won't change the derivation
2023-01-25 16:12:43 +01:00
Weijia Wang 3af326d047
Merge pull request #209653 from r-ryantm/auto-update/pure-prompt
pure-prompt: 1.20.4 -> 1.21.0
2023-01-23 16:57:35 +01:00
R. Ryantm ec2ccd96fb oh-my-zsh: 2023-01-09 -> 2023-01-17 2023-01-17 13:27:26 +00:00
Jörg Thalheim 42cbbdd326
Merge pull request #210670 from r-ryantm/auto-update/zsh-prezto
zsh-prezto: unstable-2022-10-26 -> unstable-2023-01-12
2023-01-16 01:30:37 +01:00
Vonfry 1ef83f9b11
zsh-fzf-tab: unstable-2022-10-15 -> unstable-2022-12-08 2023-01-15 16:00:54 +08:00
R. Ryantm c11069da37 zsh-prezto: unstable-2022-10-26 -> unstable-2023-01-12 2023-01-14 10:03:30 +00:00
figsoda ce7916401d
Merge pull request #210370 from r-ryantm/auto-update/spaceship-prompt
spaceship-prompt: 4.12.0 -> 4.13.1
2023-01-12 13:08:04 -05:00
Naïm Favier 16941b18c2
Merge pull request #208919 from joedevivo/zimfw 2023-01-12 16:10:24 +01:00
R. Ryantm f767028160 spaceship-prompt: 4.12.0 -> 4.13.1 2023-01-12 14:53:34 +00:00
R. RyanTM b53f7b3cfe
oh-my-zsh: 2022-11-08 -> 2023-01-09 (#210105) 2023-01-11 16:38:01 -05:00
Joe DeVivo 288a8815e0
zimfw: init at 1.11.0 2023-01-11 07:40:11 -07:00
Sandro 79562c9aa1
Merge pull request #209307 from deejayem/zsh-forgit-23.01.0 2023-01-10 13:20:00 +01:00
R. Ryantm adcf91124c zsh-prezto: unstable-2022-04-05 -> unstable-2022-10-26 2023-01-08 18:08:11 +08:00
R. Ryantm cf74134f1d pure-prompt: 1.20.4 -> 1.21.0 2023-01-08 09:25:51 +00:00
David Morgan 6d3d0c1ffc
zsh-forgit: 22.12.0 -> 23.01.0 2023-01-06 13:19:34 +00:00
figsoda 293a28df6d
Merge pull request #208388 from KyleOndy/add-kyleondy-to-spaceship-maintainers
spaceship-prompt: add kyleondy as maintainer
2022-12-30 14:23:29 -05:00
figsoda b4d8bdee40
Merge pull request #206917 from KyleOndy/fix-spaceship
spaceship-prompt: 3.16.7 -> 4.12.0
2022-12-30 14:20:13 -05:00
Kyle Ondy 3a7244f68b
spaceship-prompt: add kyleondy as maintainer
Kyle Ondy uses spaceship-prompt 10+ hours a day, both at work on an M1
macbook and on Intel and AMD machines at home.
2022-12-30 12:45:41 -05:00
R. Ryantm 1659f599a3 grml-zsh-config: 0.19.4 -> 0.19.5 2022-12-23 08:07:34 +00:00