diff options
| author | srdusr <trevorgray@srdusr.com> | 2024-05-16 19:04:54 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2024-05-16 19:04:54 +0200 |
| commit | 530ebde2c27a50e51888b70e66fb996715a5f852 (patch) | |
| tree | 615ae22ab10a23b3ce9897213475ba282d54b75c /.config/zsh/user | |
| parent | 788c4efb6764888b33e2dcc974db9c36618a8737 (diff) | |
| download | dotfiles-530ebde2c27a50e51888b70e66fb996715a5f852.tar.gz dotfiles-530ebde2c27a50e51888b70e66fb996715a5f852.zip | |
Testing install.sh
Diffstat (limited to '.config/zsh/user')
| -rw-r--r-- | .config/zsh/user/functions.zsh | 24 |
1 files 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 |
