about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-11-29T15·52-0500
committerGriffin Smith <grfn@gws.fyi>2021-11-29T15·52-0500
commitac2fa80f75e89acbdf106af33affa5b3c3551b25 (patch)
tree7528f77c8b8a992c96aa56acb65ce833572341d7 /users
parente1e78f7abc42bed5a048baac5da0920ce031030e (diff)
feat(gs/home): Add shell alias for graphvizzing r/3114
for work

Change-Id: Ib8a8928f8315823a34b653d3e3dff46d10f930e6
Diffstat (limited to 'users')
-rw-r--r--users/grfn/system/home/machines/yeren.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/grfn/system/home/machines/yeren.nix b/users/grfn/system/home/machines/yeren.nix
index 5431b8ebc522..0c89e9d12393 100644
--- a/users/grfn/system/home/machines/yeren.nix
+++ b/users/grfn/system/home/machines/yeren.nix
@@ -70,4 +70,8 @@ in
 
   xdg.mimeApps.defaultApplications."x-scheme-handler/tg" =
     "telegramdesktop.desktop";
+
+  programs.zsh.shellAliases = {
+    "graph" = "curl -s localhost:6033/graph | dot -Tpng | feh -";
+  };
 }