diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index fc4a2aa..12a89a0 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -140,6 +140,10 @@ function clg() { git clone "https://github.com/$1" "${@:2}" } +function lp() { + lsof -i -P -n $@ | grep LISTEN +} + # Check if main exists and use instead of master function git_main_branch() { command git rev-parse --git-dir &>/dev/null || return