diff --git a/.config/oh-my-zsh/aliases.zsh b/.config/oh-my-zsh/aliases.zsh index 38afdc8..6282826 100644 --- a/.config/oh-my-zsh/aliases.zsh +++ b/.config/oh-my-zsh/aliases.zsh @@ -53,3 +53,11 @@ function psgrep { ps axuf | grep -v grep | grep "$@" -i --color=auto; } +## check active hosts on subnet +function getActiveHosts { + nmap -sP $(ip route | awk '/src/ {print $1}'); +} + +## always spawn new window for firefox +alias firefox='firefox --new-window' +