From 57c4d5863111b5cc4475defe0c82a12bf3157372 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 18 May 2023 13:24:21 +0200 Subject: [PATCH] sd --- bash/alias/bash.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bash/alias/bash.sh b/bash/alias/bash.sh index 84b628d..65a7bda 100644 --- a/bash/alias/bash.sh +++ b/bash/alias/bash.sh @@ -1,6 +1,13 @@ # change current directory to its parent alias ..="\ -cd .. \ +cd \ +.. \ +" + +# swap directory (current ↔ previous) +alias sd="\ +cd \ +- \ " # import source file