9 Commits
v0.1.1 ... main

Author SHA1 Message Date
e546cff2b2 Update files 2023-12-18 00:35:43 +01:00
9bef22a8c1 Actualizar 'files/p10k.zsh' 2023-05-30 15:13:34 +00:00
07497cb3da Añadir 'files/p10k.zsh' 2023-05-29 15:47:32 +00:00
253448067f Update zshrc
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
2023-03-20 22:59:04 +01:00
5cc07d7b3d Actualización plugins omz 2022-11-25 13:19:00 +01:00
e3586294be Actualización de fichero zshrc 2022-11-25 13:18:22 +01:00
abf455a349 Actualización de fichero zshrc
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
2022-11-24 19:19:08 +01:00
70b44df5f2 Actualización de fichero zshrc
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
2022-11-22 10:03:12 +01:00
c78e150020 Actualización de fichero zshrc
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
2022-11-18 19:04:32 +01:00
3 changed files with 1673 additions and 2 deletions

View File

@@ -287,12 +287,14 @@ Cualquier duda sobre la instalación y configuración del tema, la [documentaci
## Plugins
Los plugins que utilizo son los siguientes:
- [ansible](https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/ansible)
- [aws](https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/aws)
- [dirhistory](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/dirhistory)
- [docker](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/docker)
- [docker-compose](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/docker-compose)
- [emoji](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/emoji)
- [encode64](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/encode64)
- [git](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git)
- [golang](https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/golang)
- [helm](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/helm)
- [history](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/history)
- [history-substring-search](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/history-substring-search)

1640
files/p10k.zsh Normal file

File diff suppressed because it is too large Load Diff

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
@@ -79,12 +85,16 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# Add wisely, as too many plugins slow down shell startup.
plugins=(
ansible
asdf
aws
dirhistory
docker
docker-compose
emoji
encode64
gcloud
git
golang
helm
history
history-substring-search
@@ -92,8 +102,11 @@ plugins=(
jump
kubectl
nmap
python
sudo
terraform
vagrant
vagrant-prompt
zsh-autosuggestions
zsh-syntax-highlighting
z
@@ -145,8 +158,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,11 +174,24 @@ function verip {
curl -s https://ipinfo.io | jq
}
# Añado mis exportaciones
export GOPATH=$HOME/go
## Go
export GOPATH=$HOME/Documents/projectes/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/bin/terraform terraform
complete -o default -F __start_kubectl k
[[ $commands[kubectl] ]] && source <(kubectl completion zsh)
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/v/google-cloud-sdk/path.zsh.inc' ]; then . '/home/v/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/v/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/v/google-cloud-sdk/completion.zsh.inc'; fi