Skip to content

Commit

Permalink
fix command literal example
Browse files Browse the repository at this point in the history
Remove references to the old "alias"

Fixes #147
  • Loading branch information
zimbatm committed Dec 23, 2021
1 parent d3a1f5b commit f87fb93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions devshell/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ type Bash struct {

// Command ...
type Command struct {
Alias string `toml:"alias,omitempty"`
Command string `toml:"command,omitempty"`
Help string `toml:"help,omitempty"`
Name string `toml:"name"`
Package string `toml:"package,omitempty"`
Category string `toml:"category,omitempty"`
Command string `toml:"command,omitempty"`
Help string `toml:"help,omitempty"`
Name string `toml:"name"`
Package string `toml:"package,omitempty"`
}

// Devshell ...
Expand Down
6 changes: 3 additions & 3 deletions modules/commands.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ in
{
help = "print hello";
name = "hello";
alias = "echo hello";
command = "echo hello";
}
{
help = "used to format nix code";
package = pkgs.nixpkgs-fmt;
package = "nixpkgs-fmt";
category = "formatter";
}
]
'';
Expand Down

0 comments on commit f87fb93

Please sign in to comment.