Actualización de fichero zshrc

Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
Manuel Vergara 2022-11-18 19:04:32 +01:00
parent 7c28885894
commit c78e150020

View File

@ -1,10 +1,16 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# starship
eval "$(starship init zsh)"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
@ -90,13 +96,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
@ -145,8 +151,11 @@ function gglog {
## docker
alias d="docker"
### Añadir color con tuberia
alias dcolor="docker-color-output"
## kubectl
### Añadir color a todo CLI
alias kubectl="kubecolor"
## Copiar y pegar desde la terminal
@ -158,8 +167,8 @@ function verip {
curl -s https://ipinfo.io | jq
}
# Añado mis exportaciones
## Go
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin