From 0bb320d1966cd2e137f9fb77f3beedb758eeec05 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Sun, 3 Aug 2025 09:07:42 -0400 Subject: [PATCH] [F] Fix order --- scripts/zshrc.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/zshrc.sh b/scripts/zshrc.sh index b7569ff..6e72ec0 100755 --- a/scripts/zshrc.sh +++ b/scripts/zshrc.sh @@ -16,6 +16,14 @@ select-word-style bash bindkey '^W' backward-delete-word bindkey '^H' backward-kill-word +# Silent pushd and popd +spushd () { + pushd "$@" > /dev/null || exit +} +spopd () { + popd "$@" > /dev/null || exit +} + export PATH="$SCR/bin:$PATH" export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH" @@ -266,14 +274,6 @@ addline() { grep -qxF "$2" "$1" || echo "$2" >> "$1" } -# Silent pushd and popd -spushd () { - pushd "$@" > /dev/null || exit -} -spopd () { - popd "$@" > /dev/null || exit -} - # Minecraft coloring color() { tmp="$*&r"