Fixed unset proxy alias (now a function)

This commit is contained in:
tke
2023-05-24 12:49:30 +02:00
parent 8a316e7b16
commit 5333064789

View File

@@ -53,5 +53,5 @@ fi
if (hash bat 2>/dev/null) ; then if (hash bat 2>/dev/null) ; then
export MANPAGER="sh -c 'col -bx | bat -l man -p'" export MANPAGER="sh -c 'col -bx | bat -l man -p'"
fi fi
alias unsetproxy="unset $(env | grep -Pio '^https?_proxy' | xargs)" function unsetproxy() { unset $(env | grep -Pio '^https?_proxy' | xargs) ; }
hash fdfind && alias fd=fdfind hash fdfind && alias fd=fdfind