add alias
This commit is contained in:
parent
9440caf156
commit
edcb67e9ee
@ -134,6 +134,9 @@ alias CAPS='xdotool key Caps_Lock'
|
|||||||
alias colors='for i in {0..255}; do printf "\x1b[38;5;${i}mcolor${i} - ██████████\n"; done'
|
alias colors='for i in {0..255}; do printf "\x1b[38;5;${i}mcolor${i} - ██████████\n"; done'
|
||||||
|
|
||||||
|
|
||||||
|
alias pastewww='curl --data-binary @- paste.thek4n.ru/'
|
||||||
|
|
||||||
|
|
||||||
# clipboard
|
# clipboard
|
||||||
if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
||||||
if [ -n "${DISPLAY}" ]; then
|
if [ -n "${DISPLAY}" ]; then
|
||||||
|
|||||||
@ -16,5 +16,6 @@ execute_and_format_result() {
|
|||||||
|
|
||||||
{
|
{
|
||||||
execute_and_format_result curl ipinfo.io/ip
|
execute_and_format_result curl ipinfo.io/ip
|
||||||
|
execute_and_format_result curl ip.thek4n.ru
|
||||||
execute_and_format_result dig +short myip.opendns.com @resolver1.opendns.com
|
execute_and_format_result dig +short myip.opendns.com @resolver1.opendns.com
|
||||||
} | column -t -s "${TAB}"
|
} | column -t -s "${TAB}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user