From 42df7acba0918f1f2d909a25953682d1ece45ee5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 26 Feb 2023 15:39:07 +0100 Subject: [PATCH] add multiples cd --- arch.sh | 4 ++++ arch_wsl.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch.sh b/arch.sh index 0433635..524b43b 100644 --- a/arch.sh +++ b/arch.sh @@ -124,6 +124,10 @@ main() { fish -c "abbr tgz 'tar czf \"Archive.tar.gz\"'" fish -c "abbr - 'cd -'" fish -c "abbr cd.. 'cd ..'" + fish -c "abbr ..2 'cd ../..'" + fish -c "abbr ..3 'cd ../../..'" + fish -c "abbr ..4 'cd ../../../..'" + fish -c "abbr ..5 'cd ../../../../..'" fish -c "abbr cat 'bat'" fish -c "abbr nano 'micro'" fish -c "abbr bigupdate 'yay -Syu --noconfirm && tldr --update && yes | sdk update && yes | sdk upgrade java'" diff --git a/arch_wsl.sh b/arch_wsl.sh index f6fba67..2ab1b78 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -136,6 +136,10 @@ main() { fish -c "abbr tgz 'tar czf \"Archive.tar.gz\"'" fish -c "abbr - 'cd -'" fish -c "abbr cd.. 'cd ..'" + fish -c "abbr ..2 'cd ../..'" + fish -c "abbr ..3 'cd ../../..'" + fish -c "abbr ..4 'cd ../../../..'" + fish -c "abbr ..5 'cd ../../../../..'" fish -c "abbr cat 'bat'" fish -c "abbr nano 'micro'" fish -c "abbr bigupdate 'yay -Syu --noconfirm && tldr --update && yes | sdk update && yes | sdk upgrade java'"