8000 feat: add dotfiles command by f0ssel · Pull Request #1723 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add dotfiles command #1723

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

Merged
merged 32 commits into from
May 25, 2022
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix command
  • Loading branch information
f0ssel committed May 25, 2022
commit a4352248ade4602b5f6c362909215d2f999ab71e
2 changes: 1 addition & 1 deletion cli/dotfiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func dotfiles() *cobra.Command {
// it is safe to use a variable command here because it's from
// a filtered list of pre-approved install scripts
// nolint:gosec
scriptCmd := exec.CommandContext(cmd.Context(), script)
scriptCmd := exec.CommandContext(cmd.Context(), filepath.Join(dotfilesDir, script))
scriptCmd.Dir = dotfilesDir
scriptCmd.Stdout = cmd.OutOrStdout()
scriptCmd.Stderr = cmd.ErrOrStderr()
Expand Down
0