From 6df0543e89202206b8f911b172504ba5a406d941 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 15:02:40 +0100 Subject: [PATCH] newsboat --- shell/alias/newsboat.sh | 7 ++++--- shell/alias/shell.sh | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/shell/alias/newsboat.sh b/shell/alias/newsboat.sh index 971ad9d..c877906 100644 --- a/shell/alias/newsboat.sh +++ b/shell/alias/newsboat.sh @@ -1,3 +1,4 @@ -alias nb="\ -newsboat \ -" +nb() { + newsboat \ + "${@}" +} diff --git a/shell/alias/shell.sh b/shell/alias/shell.sh index d6aa697..d38c3cb 100644 --- a/shell/alias/shell.sh +++ b/shell/alias/shell.sh @@ -6,7 +6,9 @@ a() { # swap directory (current ↔ previous) sd() { - cd - || return + cd \ + - || + return } # exit terminal