From c501886030961939116977b666a53e17c3c0292a Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 25 Jan 2024 10:09:25 +0100 Subject: [PATCH 1/3] Fix bug in pdf alias --- config/aliases.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/aliases.nu b/config/aliases.nu index 879160c..19cff8a 100644 --- a/config/aliases.nu +++ b/config/aliases.nu @@ -92,7 +92,7 @@ alias :q = exit # evince in background def pdf [arg: string] { - pueue add evince ($arg | str replace ' ' '\ ') + pueue add evince ($arg | str replace -a ' ' '\ ') } # ripgrep From 834f0b7affb94cbebff8ee242347a523d8e1e628 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 29 Jan 2024 10:03:42 +0100 Subject: [PATCH 2/3] Cleaner alias --- config/aliases.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/aliases.nu b/config/aliases.nu index 19cff8a..3a6233a 100644 --- a/config/aliases.nu +++ b/config/aliases.nu @@ -92,7 +92,7 @@ alias :q = exit # evince in background def pdf [arg: string] { - pueue add evince ($arg | str replace -a ' ' '\ ') + pueue add -e evince $arg } # ripgrep From bf7285441785ecf1ae4200a663dbb863b1eef893 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 2 Feb 2024 11:58:24 +0100 Subject: [PATCH 3/3] Fix docker attr --- config/docker.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/docker.nu b/config/docker.nu index 662d264..d5d81d0 100644 --- a/config/docker.nu +++ b/config/docker.nu @@ -56,7 +56,7 @@ def --env kube [name?: string@_kube_kubes] { alias kns = k9s -n all # shortcut for lazydocker on pi -alias pi = ssh pi -t "cd www/docker && /home/pi/.local/bin/lazydocker" +alias pi = ssh pi -t "cd docker && /home/pi/.local/bin/lazydocker" # shortcut for lazydocker on phoenix's prod alias mnemosyne = ssh phoenix -t "cd prod && /home/polymny/.local/bin/lazydocker"