From ac464fc6a8e0b2928a452b6a62ebf9d9288b16e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Fri, 15 Mar 2024 17:59:23 +0100 Subject: [PATCH] Set alias to fd if it does not exist --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 07b5d12..3ec4c86 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -181,6 +181,9 @@ if [[ "$TERM" == (Eterm*|alacritty*|aterm*|gnome*|konsole*|kterm*|putty*|rxvt*|s fi # Aliases +if command -v fdfind &> /dev/null; then + alias fd="fdfind" +fi alias ls="ls --color=auto" alias gdb='gdb -q' alias ll='ls -lhat'