Skip to content

Add global shell functions for dev shell utilities#48

Closed
Copilot wants to merge 588 commits intomasterfrom
copilot/update-dependencies-and-nix-env
Closed

Add global shell functions for dev shell utilities#48
Copilot wants to merge 588 commits intomasterfrom
copilot/update-dependencies-and-nix-env

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 3, 2026

Dev shell utilities required relative paths and could only be invoked from the dotfiles root directory. Users working in project directories needed a way to run set-dev-shell --latest elixir without path gymnastics.

Changes

Shell Functions (modules/zsh/functions.sh)

  • Added set-dev-shell and check-shell-versions as globally available functions
  • Resolves dotfiles path via ${DOTFILES_PATH:-$HOME/Repos/dot-files} for portability
  • Error messages guide users to set DOTFILES_PATH if custom location needed

Documentation

  • Updated examples to use global functions instead of relative script paths
  • Documented DOTFILES_PATH environment variable override

Testing

  • Test suite validates functions work from arbitrary directories
  • Uses mktemp -d for safe concurrent execution

Usage

# From any project directory
cd ~/my-elixir-project
set-dev-shell --latest elixir
direnv allow

# Custom dotfiles location
export DOTFILES_PATH=/custom/path
set-dev-shell --list

Direct script invocation (~/Repos/dot-files/utilities/set_dev_shell.sh) remains available for CI/automation contexts.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

dependabot Bot and others added 30 commits December 13, 2022 10:05
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2.3.5...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…s/checkout-3.2.0

Bump actions/checkout from 2.3.5 to 3.2.0
…/install-nix-action-18

Bump cachix/install-nix-action from 17 to 18
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…s/checkout-3.3.0

Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](cachix/install-nix-action@v18...v19)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…/install-nix-action-19

Bump cachix/install-nix-action from 18 to 19
gilacost and others added 14 commits January 12, 2026 23:34
- Replace erlang-ls with erlang-language-platform (package archived)
- Remove duplicate nodejs from packages (causes conflicts)
- Use nvim-treesitter.withAllGrammars for pre-built grammars
- Disable tree-sitter auto_install and sync_install
- Update actions/checkout to v6.0.2 in CI workflow
- Add comprehensive Claude Code allow commands
- Update README to reflect pre-installed tree-sitter grammars

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Replace deprecated gh-copilot with github-copilot-cli
- Remove invalid erlang override parameters (version, sha256)
- Update flake inputs: expert, home-manager, nixpkgs, nur

The erlang override was attempting to pass version/sha256 to a pre-built
interpreter package, which caused build failures. Now using the interpreter
directly as it's already versioned correctly in nixpkgs.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove version, sha256, and escriptPath override parameters from Elixir
package. These cannot be overridden on pre-built nixpkgs packages.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copilot AI and others added 3 commits February 3, 2026 12:43
Co-authored-by: gilacost <6720169+gilacost@users.noreply.github.com>
Co-authored-by: gilacost <6720169+gilacost@users.noreply.github.com>
Co-authored-by: gilacost <6720169+gilacost@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub action for weekly dependency updates and Nix build feat: automated weekly dependency updates and dev shell management Feb 3, 2026
Copilot AI requested a review from gilacost February 3, 2026 12:48
Copilot AI and others added 2 commits February 3, 2026 13:11
Co-authored-by: gilacost <6720169+gilacost@users.noreply.github.com>
Co-authored-by: gilacost <6720169+gilacost@users.noreply.github.com>
Copilot AI changed the title feat: automated weekly dependency updates and dev shell management Add global shell functions for dev shell utilities Feb 3, 2026
@gilacost gilacost closed this Apr 4, 2026
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.

2 participants