From 9c3d1ab3c6ff03c337d56692e4b0ae75699dac05 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Wed, 24 May 2023 17:11:51 +0200 Subject: [PATCH] Update '.general.rc' --- .general.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.general.rc b/.general.rc index 00eae75..f215daf 100644 --- a/.general.rc +++ b/.general.rc @@ -1,7 +1,7 @@ bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word -if ! command -v bat &> /dev/null; then +if command -v bat &> /dev/null; then alias myip="curl https://ipinfo.io/json 2> /dev/null | bat -l JSON --file-name=https://ipinfo.io/json -p --paging=never" else alias myip="curl https://ipinfo.io/json 2> /dev/null"