From 10f393197ec9eead9730c5a9fc6bb1e63b7d66ca Mon Sep 17 00:00:00 2001 From: Manuel Vergara Date: Thu, 17 Nov 2022 12:58:27 +0100 Subject: [PATCH] =?UTF-8?q?Actualizaci=C3=B3n=20de=20fichero=20zshrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Vergara --- files/zshrc | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/files/zshrc b/files/zshrc index ec074fa..d0cee55 100644 --- a/files/zshrc +++ b/files/zshrc @@ -90,13 +90,13 @@ plugins=( history-substring-search jsontools jump - kubectl + kubectl nmap sudo terraform zsh-autosuggestions zsh-syntax-highlighting - z + z ) source $ZSH/oh-my-zsh.sh @@ -128,9 +128,8 @@ source $ZSH/oh-my-zsh.sh # alias ohmyzsh="mate ~/.oh-my-zsh" # Introduzco mis alias +## git alias g="git" -alias d="docker" -alias kubectl="kubecolor" function ggpush { git push origin HEAD $@ @@ -144,6 +143,25 @@ function gglog { git log --graph --pretty=format:"%C(yellow)%h%Cred%d%Creset - %C(cyan)%an%Creset: '%s' %Cgreen(%cr)%Creset" } +## docker +alias d="docker" + +## kubectl +alias kubectl="kubecolor" + +## Copiar y pegar desde la terminal +alias pbcopy='xsel -b' +alias pbpaste='xsel -b -o' + +## ver info externa de la ip +function verip { + curl -s https://ipinfo.io | jq +} + + +# AƱado mis exportaciones +export GOPATH=$HOME/go +export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.