From 530ebde2c27a50e51888b70e66fb996715a5f852 Mon Sep 17 00:00:00 2001 From: srdusr Date: Thu, 16 May 2024 19:04:54 +0200 Subject: Testing install.sh --- .config/zsh/user/functions.zsh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.config/zsh/user/functions.zsh b/.config/zsh/user/functions.zsh index 8c3647a..bf8242f 100644 --- a/.config/zsh/user/functions.zsh +++ b/.config/zsh/user/functions.zsh @@ -417,18 +417,18 @@ fpop() { d | fzf --height="20%" | cut -f 1 | source /dev/stdin } -ip() { - emulate -LR zsh - - if [[ $1 == 'get' ]]; then - res=$(curl -s ipinfo.io/ip) - echo -n $res | xsel --clipboard - echo "copied $res to clipboard" - # only run ip if it exists - elif (( $+commands[ip] )); then - command ip $* - fi -} +#ip() { +# emulate -LR zsh +# +# if [[ $1 == 'get' ]]; then +# res=$(curl -s ipinfo.io/ip) +# echo -n $res | xsel --clipboard +# echo "copied $res to clipboard" +# # only run ip if it exists +# elif (( $+commands[ip] )); then +# command ip $* +# fi +#} ssh-create() { if [ ! -z "$1" ]; then -- cgit v1.2.3