all repos — nixfiles @ 3023e9e0195e548a9eabcf42d7248ba59853156d

System and user configuration, managed by nix and home-manager

fish: make dired/magit functions quiet
Alan Pearce alan@alanpearce.eu
Fri, 24 May 2024 14:11:07 +0200
commit

3023e9e0195e548a9eabcf42d7248ba59853156d

parent

39eb5ee142500c6cc9e3e434336f6ec0e2accc18

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M user/settings/fish/functions/dired.fishuser/settings/fish/functions/dired.fish
@@ -4,5 +4,5 @@ set --function repo $argv[1]     else
         set --function repo $pwd
     end
-    emacsclient -e "(dired \"$argv[1]\")"
+    emacsclient --suppress-output --eval "(dired \"$argv[1]\")"
 end
M user/settings/fish/functions/magit.fishuser/settings/fish/functions/magit.fish
@@ -4,5 +4,5 @@ set --function repo $argv[1]     else
         set --function repo $pwd
     end
-    emacsclient -e "(magit-status \"$argv[1]\")"
+    emacsclient --suppress-output --eval "(magit-status \"$argv[1]\")"
 end