added alias for getting current WAN IP

master
Michael Ochmann 3 years ago
parent 15a3541ab9
commit f423304f16
  1. 2
      .bashrc

@ -47,6 +47,7 @@ export PATH="/usr/local/share/dotnet:$PATH"
export CC=clang
export CXX=clang++
export PATH="/usr/local/lib/python3.9/site-packages:$PATH"
export PATH="/usr/local/Cellar/mono/6.12.0.122_1/bin/:$PATH"
if [[ "$OSTYPE" == "darwin"* ]]
then
export PATH="/Applications/Emacs.app/Contents/MacOS:$PATH"
@ -335,6 +336,7 @@ alias reload="source ~/.bashrc"
alias editrc="vim ~/.bashrc && reload"
alias shutdowncause="log show --predicate 'eventMessage contains \"Previous shutdown cause\"' --last 24h"
alias gl="glab"
alias ipcur="echo $(wget "https://ip.mike-ochmann.de/plain" -O - -q)"
# PROPELLER TMUX SSH
#if [ -z "$TMUX" ] && [ $(dpkg-query -W -f='${Status}' tmux 2>/dev/null | grep -c "ok installed") -eq 1 ] && [ -n "$SSH_TTY" ] && [ -z "$NO_AUTO_TMUX" ] && [[ $- =~ i ]]

Loading…
Cancel
Save