aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src/settings.rs
diff options
context:
space:
mode:
authorHelmut K. C. Tessarek <tessarek@evermeet.cx>2024-02-27 08:27:39 -0500
committerGitHub <noreply@github.com>2024-02-27 13:27:39 +0000
commit94c85c31891c154d984f41a82401e0a7f782722e (patch)
tree67c65b82f8d15b115810cd9b4855f80662d0691e /atuin-client/src/settings.rs
parentfeat(stats): Normalize formatting of default config, suggest nix (#1764) (diff)
downloadatuin-94c85c31891c154d984f41a82401e0a7f782722e.zip
feat(stats): add linux sysadmin commands to common_subcommands (#1784)
* feat(stats): add linux sysadmin commands to common_subcommands I've been using atuin on my Linux box for some time now and I have noticed that a few commands that are used rather often are not in the list of common_subcommands. This change adds these commands to the list. * feat(stats): I forgot 'apt'
Diffstat (limited to 'atuin-client/src/settings.rs')
-rw-r--r--atuin-client/src/settings.rs20
1 files changed, 19 insertions, 1 deletions
diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs
index b7dc7f1c..9f2afd04 100644
--- a/atuin-client/src/settings.rs
+++ b/atuin-client/src/settings.rs
@@ -281,7 +281,25 @@ impl Stats {
fn common_subcommands_default() -> Vec<String> {
vec![
- "cargo", "composer", "go", "git", "kubectl", "nix", "npm", "pnpm", "yarn",
+ "apt",
+ "cargo",
+ "composer",
+ "dnf",
+ "docker",
+ "git",
+ "go",
+ "ip",
+ "kubectl",
+ "nix",
+ "nmcli",
+ "npm",
+ "pecl",
+ "pnpm",
+ "podman",
+ "port",
+ "systemctl",
+ "tmux",
+ "yarn",
]
.into_iter()
.map(String::from)