aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-05-16 19:04:54 +0200
committersrdusr <trevorgray@srdusr.com>2024-05-16 19:04:54 +0200
commit530ebde2c27a50e51888b70e66fb996715a5f852 (patch)
tree615ae22ab10a23b3ce9897213475ba282d54b75c
parent788c4efb6764888b33e2dcc974db9c36618a8737 (diff)
downloaddotfiles-530ebde2c27a50e51888b70e66fb996715a5f852.tar.gz
dotfiles-530ebde2c27a50e51888b70e66fb996715a5f852.zip
Testing install.sh
-rw-r--r--.config/zsh/user/functions.zsh24
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