Update '.general.rc'

This commit is contained in:
2023-05-24 17:10:07 +02:00
parent ad5fd969ba
commit 7349042f97

View File

@@ -1,4 +1,10 @@
bindkey "^[[1;5C" forward-word bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word bindkey "^[[1;5D" backward-word
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"
fi
alias ip='ip -c' alias ip='ip -c'