From 8395ac1f60db80b26b5c20181dc4fa42047857e5 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Tue, 8 Oct 2024 11:01:32 +0200 Subject: [PATCH] feat(`zsh`): new alias, new function --- common/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/home.nix b/common/home.nix index 9236214..b8802e1 100644 --- a/common/home.nix +++ b/common/home.nix @@ -151,6 +151,7 @@ j = "jobs"; sshm = "ssh -M"; pd = "pushd"; + wlc = "wl-copy"; }; plugins = [{ name = "vi-mode"; @@ -161,6 +162,10 @@ mkcdir() { mkdir -p -- "$@" && cd -- "$1" } + + getpwd() { + rbw get "$@" | wl-copy + } ''; };