dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit 93de4d0c5fd6ac51a88fc4fd0214065adfc922fd
parent 7f446ad2b5888f33149fb7c6256d9e6fb6875980
Author: Paco Esteban <paco@onna.be>
Date:   Sat, 13 Apr 2019 21:31:22 +0200

Fixing aliases

r1 does not exist anymore
forcing ipv4 on myip, as we already know ipv6 simply with ifconfig

Diffstat:
zsh/.zsh/aliases.zsh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh @@ -116,7 +116,7 @@ function o2d(){ printf "%'d\n" "[8]$@"; } # the other permitations are a python script in ~/bin # What is my External IP -function myip() { printf "External IP: %s\n" $(curl -s http://ifconfig.co/) ;} +function myip() { printf "External IP: %s\n" $(curl -s -4 http://ifconfig.co/) ;} # Utils @@ -202,7 +202,7 @@ function pastesrv() { if [[ -z "$FILENAME" ]]; then FILENAME=$(tr -cd '[:alnum:]' < /dev/urandom |dd bs=1 count=8 2>/dev/null) fi - ssh r1 "cat > /var/www/pastes/$FILENAME" + ssh r2.e1e0.net "cat > /var/www/pastes/$FILENAME" echo -n "https://onna.be/paste/$FILENAME" |\ ${=CLIP_COMMAND} echo ''