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.