Skip to content

Commit

Permalink
feat(alias): add ip alias to show public ip
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Oct 8, 2024
1 parent 443aa18 commit 1b4fdb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aliases/zsh.aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ case $OS in
*) ;;
esac

alias ip='dig +short myip.opendns.com @resolver1.opendns.com'

# tree w/ .gitignore - https://unix.stackexchange.com/a/632196
alias tr1='rg --files | tree --fromfile -L 1 -C'
alias tr2='rg --files | tree --fromfile -L 2 -C'
Expand Down

0 comments on commit 1b4fdb6

Please sign in to comment.