summary refs log tree commit diff stats
path: root/user/settings/fish/functions
diff options
context:
space:
mode:
authorAlan Pearce2024-05-24 14:11:07 +0200
committerAlan Pearce2024-05-24 14:11:07 +0200
commit3023e9e0195e548a9eabcf42d7248ba59853156d (patch)
treefb8d1b63d3d3926e50dfd0a7b8ce7d2e45c1c063 /user/settings/fish/functions
parent39eb5ee142500c6cc9e3e434336f6ec0e2accc18 (diff)
downloadnixfiles-3023e9e0195e548a9eabcf42d7248ba59853156d.tar.lz
nixfiles-3023e9e0195e548a9eabcf42d7248ba59853156d.tar.zst
nixfiles-3023e9e0195e548a9eabcf42d7248ba59853156d.zip
fish: make dired/magit functions quiet
Diffstat (limited to 'user/settings/fish/functions')
-rw-r--r--user/settings/fish/functions/dired.fish2
-rw-r--r--user/settings/fish/functions/magit.fish2
2 files changed, 2 insertions, 2 deletions
diff --git a/user/settings/fish/functions/dired.fish b/user/settings/fish/functions/dired.fish
index f69ac5e2..a59ffac2 100644
--- a/user/settings/fish/functions/dired.fish
+++ b/user/settings/fish/functions/dired.fish
@@ -4,5 +4,5 @@ function dired
     else
         set --function repo $pwd
     end
-    emacsclient -e "(dired \"$argv[1]\")"
+    emacsclient --suppress-output --eval "(dired \"$argv[1]\")"
 end
diff --git a/user/settings/fish/functions/magit.fish b/user/settings/fish/functions/magit.fish
index 048fd42f..96c90096 100644
--- a/user/settings/fish/functions/magit.fish
+++ b/user/settings/fish/functions/magit.fish
@@ -4,5 +4,5 @@ function magit
     else
         set --function repo $pwd
     end
-    emacsclient -e "(magit-status \"$argv[1]\")"
+    emacsclient --suppress-output --eval "(magit-status \"$argv[1]\")"
 end