Skip to content

Commit

Permalink
feat: Add PHP package manager "composer" to list of default common su…
Browse files Browse the repository at this point in the history
…bcommands (#1757)

* Add PHP package manager "composer" to list of default common subcommands

* Run cargo fmt and sort entries
  • Loading branch information
KorvinSzanto authored Feb 26, 2024
1 parent 91ddcd6 commit d7582b6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions atuin-client/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,12 @@ impl Stats {
}

fn common_subcommands_default() -> Vec<String> {
vec!["cargo", "go", "git", "npm", "yarn", "pnpm", "kubectl"]
.into_iter()
.map(String::from)
.collect()
vec![
"cargo", "composer", "git", "go", "kubectl", "npm", "pnpm", "yarn",
]
.into_iter()
.map(String::from)
.collect()
}

fn ignored_commands_default() -> Vec<String> {
Expand Down

0 comments on commit d7582b6

Please sign in to comment.