adding zprofile

master
Luis C. 7 months ago
parent a69c4b8c18
commit 661c1b4096

@ -0,0 +1,5 @@
[user]
email = me@lucataco.com
name = Luis C
[core]
editor = vim

@ -0,0 +1,31 @@
# Git Aliases
alias ga='git add'
alias gaa='git add .'
alias gc='git commit'
alias gcm='git commit -m'
alias gd='git diff'
alias gi='git init'
alias gl='git log'
alias gp='git pull'
alias gpsh='git push'
alias gss='git status -s'
alias gs='echo ""; echo "***"; echo -e " DONT FORGET TO PULL BEFORE COMMITTING"; echo "***"; echo ""; git status'
# Docker Aliases
alias doc='docker'
alias dps='docker ps'
alias dpsa='docker ps -a'
alias dlsi='docker images'
alias drmi='docker rmi'
alias drmc='docker container rm'
alias docshell="docker run --rm -i -t --entrypoint=/bin/bash"
alias docshellsh="docker run --rm -i -t --entrypoint=/bin/sh"
function docshellhere() {
dirname=${PWD##*/}
docker run --rm -it --entrypoint=/bin/bash -v `pwd`:/${dirname} -w /${dirname} "$@"
}
function docshellshhere() {
dirname=${PWD##*/}
docker run --rm -it --entrypoint=/bin/sh -v `pwd`:/${dirname} -w /${dirname} "$@"
}
Loading…
Cancel
Save