From 92cd6d3c228bef69246bd8c0258c69761c2fd92c Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 25 Jan 2022 13:13:41 +0100 Subject: [PATCH] Update klogs and wg aliases --- dot_config/fish/private_config.fish.tmpl | 3 ++- dot_config/fish/private_functions/private_klogs.fish | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index c3a5fa7..4be09d1 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -41,4 +41,5 @@ set -gx EDITOR vim set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject direnv hook fish | source - +alias wg "sudo wg" +alias wg-quick "sudo wg-quick" diff --git a/dot_config/fish/private_functions/private_klogs.fish b/dot_config/fish/private_functions/private_klogs.fish index 9dbab06..07a2026 100644 --- a/dot_config/fish/private_functions/private_klogs.fish +++ b/dot_config/fish/private_functions/private_klogs.fish @@ -1,4 +1,4 @@ # Defined interactively -function klogs -stern $argv +function klogs --wraps=stern +stern --tail=50 $argv end