From a46def3bc2e7c96725c646a479abd57e0b8d6329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Dec 2024 20:50:57 +0100 Subject: [PATCH] Reorganize aliases --- .config/rodolphe/.aliases | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.config/rodolphe/.aliases b/.config/rodolphe/.aliases index 24d5666..f3fbe1c 100644 --- a/.config/rodolphe/.aliases +++ b/.config/rodolphe/.aliases @@ -32,15 +32,13 @@ hash helix 2>/dev/null && alias hx='helix' hash htop 2>/dev/null && alias top='htop' hash kitty 2>/dev/null && alias kitty_ssh='kitty +kitten ssh' hash nvim 2>/dev/null && alias vim='nvim' -hash sqlmap 2>/dev/null && alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"' -hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5' hash tree 2>/dev/null && alias t='tree' hash yt-dlp 2>/dev/null && alias audio-dl='yt-dlp --extract-audio --audio-quality 0 --audio-format "vorbis"' - -# -# More complex aliases -# +if hash sqlmap 2>/dev/null; then + alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"' + alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5' +fi # https://github.com/OpenXRay/xray-16 if hash xr_3da 2>/dev/null; then