1
0

3 Achegas f48acdb0bd ... 984b512a4f

Autor SHA1 Mensaxe Data
  Marius Schwarz 984b512a4f Merge branch 'master' of ssh://git.swrzm.de:44444/msc/dots hai 1 ano
  Marius Schwarz ec399285aa new wallpapers hai 1 ano
  Marius Schwarz 161472f6fd new alias for routes and pubip hai 1 ano
Modificáronse 3 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .bash_aliases
  2. BIN=BIN
      wallpaper/dracula.png
  3. BIN=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=BIN
wallpaper/dracula.png


BIN=BIN
wallpaper/mountain.png