Signed-off-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2023-02-15 20:28:52 +01:00
parent f83c79032d
commit 4d7b2b2670

View file

@ -97,7 +97,7 @@ function rgf {
return 1 return 1
fi fi
if command -v rg >/dev/null ; then if command -v rg >/dev/null ; then
rg --ignore-case --files --hidden --glob=!.git/ *"$1"* rg --ignore-case --files --hidden --glob=!.git/ *"$1"*
else else
echo "[INFO] ripgrep ist nicht installiert... suche mit 'find'" echo "[INFO] ripgrep ist nicht installiert... suche mit 'find'"
find . -type f -not -path '*/\.git/*' -name *"$1"* find . -type f -not -path '*/\.git/*' -name *"$1"*
@ -232,7 +232,7 @@ alias hostname="hostname -f"
alias untar="tar -xzf" alias untar="tar -xzf"
alias unmount="umount" alias unmount="umount"
alias psk="pkill" alias psk="pkill"
alias ru="python3 -m rip url --ignore-db" alias ru="rip url --max-quality 3 --codec fla"
alias mkdir="mkdir -p" alias mkdir="mkdir -p"
alias last="last -w" alias last="last -w"
alias ll="ls -lah" alias ll="ls -lah"