Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnHo committed Oct 19, 2023
1 parent 84e2646 commit a7e67bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ alias ccat="pygmentize -g -O style=monokai"
alias cat="ccat"
alias ep="echo ${PATH} | sed -e $'s/:/\\\n/g'"
killn()( ps -ef | grep "$*" | grep -v "grep.*$*" | awk '{print $2}' | xargs -r kill -9 )
skilln()( ps -ef | grep "$*" | grep -v "grep.*$*" | awk '{print $2}' | sudo xargs -r kill -9 )
alias c="func()( python3 -c \"from math import *; print(\$*)\" ); noglob func"
freeport()( sudo kill -9 $(sudo lsof -i:$1 | awk 'NR>1 {print $2}' | uniq) )
alias rzshrc="exec zsh"
Expand Down

0 comments on commit a7e67bd

Please sign in to comment.