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