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