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 support for NuShell scripts #312

Merged
merged 1 commit into from
Jan 5, 2025
Merged

Conversation

gmpinder
Copy link
Member

@gmpinder gmpinder commented Dec 24, 2024

Part 1 for #257

@gmpinder gmpinder self-assigned this Dec 24, 2024
@gmpinder gmpinder force-pushed the refactor-module-usage branch 5 times, most recently from d1955a5 to edc93a6 Compare December 31, 2024 14:44
@gmpinder gmpinder force-pushed the refactor-module-usage branch from edc93a6 to 853d34b Compare January 3, 2025 22:57
@gmpinder gmpinder force-pushed the refactor-module-usage branch from 853d34b to 69aaa1e Compare January 5, 2025 00:08
@gmpinder gmpinder marked this pull request as ready for review January 5, 2025 02:12
Comment on lines 21 to +26

get_script_path() {
local script_name="$1"
local extensions=("nu" "sh" "bash")
local base_script_path="/tmp/modules/${script_name}/${script_name}"
local tried_scripts=()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@gmpinder gmpinder merged commit 74bd056 into main Jan 5, 2025
17 checks passed
@gmpinder gmpinder deleted the refactor-module-usage branch January 5, 2025 18:31
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