Update '.general.rc'
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user