From a4cfce2117adfd97175bc04c025c45bf41459ff4 Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 4 Nov 2023 12:55:25 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20alias=20ls=20for=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/list.go | 7 ++++--- flake.lock | 18 +++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/cmd/list.go b/cmd/list.go index b37f7aa..0e08df3 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -30,9 +30,10 @@ import ( // listCmd represents the list command var listCmd = &cobra.Command{ - Use: "list", - Short: "A brief description of your command", - Args: cobra.NoArgs, + Use: "list", + Short: "A brief description of your command", + Args: cobra.NoArgs, + Aliases: []string{"ls"}, Run: func(cmd *cobra.Command, args []string) { projects, err := tmux.ListProjects() if err != nil { diff --git a/flake.lock b/flake.lock index 8beaa86..274e380 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "owner": "edolstra", "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "type": "github" }, "original": { @@ -21,11 +21,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1689068808, - "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", + "lastModified": 1694529238, + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", "owner": "numtide", "repo": "flake-utils", - "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", "type": "github" }, "original": { @@ -36,11 +36,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1690370995, - "narHash": "sha256-9z//23jGegLJrf3ITStLwVf715O39dq5u48Kr/XW14U=", + "lastModified": 1698942558, + "narHash": "sha256-/UmnB+mEd6Eg3mJBrAgqRcyZX//RSjHphcCO7Ig9Bpk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f3fbbc36b4e179a5985b9ab12624e9dfe7989341", + "rev": "621f51253edffa1d6f08d5fce4f08614c852d17e", "type": "github" }, "original": {