From c78e150020e8a58eda3dddf81ad267fa5c08bce1 Mon Sep 17 00:00:00 2001 From: Manuel Vergara Date: Fri, 18 Nov 2022 19:04:32 +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 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/files/zshrc b/files/zshrc index d0cee55..761bd76 100644 --- a/files/zshrc +++ b/files/zshrc @@ -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