3 Commits f48acdb0bd ... 984b512a4f

Author SHA1 Message Date
  Marius Schwarz 984b512a4f Merge branch 'master' of ssh://git.swrzm.de:44444/msc/dots 1 year ago
  Marius Schwarz ec399285aa new wallpapers 1 year ago
  Marius Schwarz 161472f6fd new alias for routes and pubip 1 year ago
3 changed files with 2 additions and 1 deletions
  1. 2 1
      .bash_aliases
  2. BIN
      wallpaper/dracula.png
  3. BIN
      wallpaper/mountain.png

+ 2 - 1
.bash_aliases

@@ -99,13 +99,14 @@ alias cdf='cd "$(fd -t d | fzf)"'
 alias cdp='cd "$(fd -t d --full-path --maxdepth 3 /home/msc/projects | fzf)"'
 # ipaddr
 alias ipa='ip --brief --color add'
+alias ipr='ip -color --brief route'
 
 # pipe into ccopy --> clipboard
 alias ccopy='xclip -selection clipboard'
 alias cpy='xclip -selection clipboard'
 
 # IPS
-alias pubip="dig +short myip.opendns.com @resolver1.opendns.com"
+alias pubip="curl -s ipinfo.io | jq -r '.ip'"
 alias localip="ip a | grep -Eo 'inet (addr:)?([0-9]*\\.){3}[0-9]*' | grep -Eo '([0-9]*\\.){3}[0-9]*' | grep -v '127.0.0.1'"
 
 

BIN
wallpaper/dracula.png


BIN
wallpaper/mountain.png