Actualización de fichero zshrc

Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
Manuel Vergara 2022-11-17 12:58:27 +01:00
parent 6d2e437da9
commit 10f393197e

View File

@ -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.