Actualización de fichero zshrc
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
parent
6d2e437da9
commit
10f393197e
22
files/zshrc
22
files/zshrc
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user