From b2337f53aea7ee884cd13759d1a99ccb04614fe8 Mon Sep 17 00:00:00 2001 From: Azalea Date: Fri, 23 Sep 2022 18:49:53 -0400 Subject: [PATCH] [+] initialize fuck --- scripts/zshrc.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/zshrc.sh b/scripts/zshrc.sh index cb98b62..269291f 100755 --- a/scripts/zshrc.sh +++ b/scripts/zshrc.sh @@ -29,6 +29,11 @@ modern-replace 'dig' 'dog' # modern-replace 'curl' 'curlie' # modern-replace 'tree' 'broot' +# Initialize fuck +if command -v 'fuck' &> /dev/null; then + eval $(thefuck --alias) +fi + # 好用的简写w alias ll='ls -l' alias l='ll'