about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 13:43:40 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 14:03:45 +0200
commit9207419322db99e4d565d1409028175e1403be14 (patch)
tree189313c9ee09f36f1b2731b422857ad36fc3cea9 /pkgs
parentfeat(home/beets): Init the xtractor plugin (diff)
downloadnixos-config-9207419322db99e4d565d1409028175e1403be14.tar.gz
nixos-config-9207419322db99e4d565d1409028175e1403be14.zip
fix(pkgs/mpc-rm): Rename to `mpc-beetrm`
This avoids shadowing the original `mpc rm` command
Diffstat (limited to 'pkgs')
-rwxr-xr-xpkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh (renamed from pkgs/by-name/mp/mpc-rm/mpc-rm.sh)0
-rw-r--r--pkgs/by-name/mp/mpc-beetrm/package.nix (renamed from pkgs/by-name/mp/mpc-rm/package.nix)4
-rwxr-xr-xpkgs/by-name/mp/mpc/mpc.sh4
3 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/by-name/mp/mpc-rm/mpc-rm.sh b/pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh
index 3209503c..3209503c 100755
--- a/pkgs/by-name/mp/mpc-rm/mpc-rm.sh
+++ b/pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh
diff --git a/pkgs/by-name/mp/mpc-rm/package.nix b/pkgs/by-name/mp/mpc-beetrm/package.nix
index 8af84279..837c93e2 100644
--- a/pkgs/by-name/mp/mpc-rm/package.nix
+++ b/pkgs/by-name/mp/mpc-beetrm/package.nix
@@ -4,8 +4,8 @@
   beets,
 }:
 sysLib.writeShellScript {
-  name = "mpc-rm";
-  src = ./mpc-rm.sh;
+  name = "mpc-beetrm";
+  src = ./mpc-beetrm.sh;
   generateCompletions = false;
   keepPath = false;
 
diff --git a/pkgs/by-name/mp/mpc/mpc.sh b/pkgs/by-name/mp/mpc/mpc.sh
index f613cf0a..0d636ac5 100755
--- a/pkgs/by-name/mp/mpc/mpc.sh
+++ b/pkgs/by-name/mp/mpc/mpc.sh
@@ -12,9 +12,9 @@ case "$1" in
     shift 1
     mpc-lyrics "$@"
     ;;
-"rm")
+"beetrm")
     shift 1
-    mpc-rm "$@"
+    mpc-beetrm "$@"
     ;;
 *)
     mpc "$@"