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

feat: Add fish shell option, put optional shells in shared/shells/ #5

Merged
merged 3 commits into from
Nov 17, 2024

Conversation

AVGVSTVS96
Copy link
Owner

@AVGVSTVS96 AVGVSTVS96 commented Nov 11, 2024

  • Move zsh config to modules/shared/shells/zsh.nix, add fish config to
    modules/shared/shells/fish.nix
  • Make each shell optional, add activeShell option definition in
    shared/default.nix for tracking the currently enabled shell. This is
    set in each shells/ file, then used in programs.nix to enable shell
    specific integrations with isZsh or isFish
  • Move $EDITOR definition to shared/default.nix, makes it global, instead of shell specific
  • Update fileWidgetOptions with conditional that uses fish syntax if using fish, else bash
  • Use knownUsers with uid to enable nix managed shell in nix-darwin

Copy link
Owner Author

AVGVSTVS96 commented Nov 11, 2024

@AVGVSTVS96 AVGVSTVS96 changed the title feat: Add fish shell option, put optional shells in shared/shells/` feat: Add fish shell option, put optional shells in shared/shells/ Nov 11, 2024
@AVGVSTVS96 AVGVSTVS96 force-pushed the shells branch 2 times, most recently from fa33b99 to 0bb48c9 Compare November 13, 2024 06:31
@AVGVSTVS96 AVGVSTVS96 force-pushed the homebrew branch 2 times, most recently from 242ebd3 to fbce60b Compare November 14, 2024 04:09
@AVGVSTVS96 AVGVSTVS96 force-pushed the shells branch 2 times, most recently from 6859d0a to 8cc99b1 Compare November 14, 2024 05:55
@AVGVSTVS96 AVGVSTVS96 force-pushed the shells branch 2 times, most recently from b40532c to cd6f677 Compare November 17, 2024 05:19
@AVGVSTVS96 AVGVSTVS96 mentioned this pull request Nov 17, 2024
@AVGVSTVS96 AVGVSTVS96 marked this pull request as ready for review November 17, 2024 06:34
@AVGVSTVS96 AVGVSTVS96 changed the base branch from homebrew to graphite-base/5 November 17, 2024 07:41
- Move zsh config to `modules/shared/shells/zsh.nix`, add fish config to
`modules/shared/shells/fish.nix`
- Make each shell optional, add activeShell option definition in
`shared/default.nix` for tracking the currently enabled shell. This is
set in each shells/ file, then used in programs.nix to enable shell
specific integrations with `isZsh` or `isFish`
Use conditional to determine fzf `fileWidgetOptions` syntax
@AVGVSTVS96 AVGVSTVS96 changed the base branch from graphite-base/5 to main November 17, 2024 07:42
Remove `$EDITOR` definition from `shells/zsh.nix`, set as
`environment.variables` in `shared/default.nix`. This sets the var
globally.
Copy link
Owner Author

Merge activity

  • Nov 17, 2:43 AM EST: A user merged this pull request with Graphite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant