This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/fish/conf.d/devtools.fish | |
# kill the process of the specified port | |
function kp | |
set port $argv[1] | |
lsof -i:$port | awk "NR==2{print $2}" | xargs kill -9 | |
end | |
# git commands | |
alias main="git checkout main" |