Remove comments
This commit is contained in:
parent
ba8938feaa
commit
8576365539
|
@ -4,10 +4,8 @@ alias ll='ls -l'
|
|||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
alias lh='ls -lh'
|
||||
|
||||
alias vim='nvim'
|
||||
alias svim='sudo nvim'
|
||||
|
||||
alias ga='git add'
|
||||
alias gaa='git add .'
|
||||
alias gaaa='git add -A'
|
||||
|
@ -19,51 +17,38 @@ alias gl='git log'
|
|||
alias gp='git pull'
|
||||
alias gpsh='git push'
|
||||
alias gss='git status -s'
|
||||
# Undo commit (https://stackoverflow.com/questions/2845731/how-to-uncommit-my-last-commit-in-git)
|
||||
alias gundo='git reset --soft HEAD~1'
|
||||
alias gck='git checkout'
|
||||
alias exiftcl='exiftool -all='
|
||||
alias exift='exiftool'
|
||||
alias upgraded='grep -i upgraded /var/log/pacman.log | tac | less'
|
||||
alias installed='grep -i installed /var/log/pacman.log | tac | less'
|
||||
alias mirrors='reflector --country Brazil,Chile,Colombia --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
|
||||
alias open='xdg-open $(fzf)'
|
||||
alias o='xdg-open'
|
||||
alias zat='zathura --fork'
|
||||
alias trash-dir='cd $HOME/.local/share/Trash'
|
||||
alias val='valgrind --leak-check=full ./listdir prueba/ > valgrind.output 2>&1'
|
||||
alias pampero='ssh slococo@pampero.it.itba.edu.ar'
|
||||
alias bd='systemctl start postgresql.service'
|
||||
|
||||
gacp() {
|
||||
function gacp() {
|
||||
git add .
|
||||
local var="$@"
|
||||
git commit -m "$var"
|
||||
git push
|
||||
}
|
||||
|
||||
gac() {
|
||||
function gac() {
|
||||
git add .
|
||||
local var="$@"
|
||||
git commit -m "$var"
|
||||
}
|
||||
|
||||
smtp() {
|
||||
function smtp() {
|
||||
cat "$1" | while read -r LINE; do sleep 0.1; echo "$LINE"; done | nc "$2" "${3:-25}"
|
||||
}
|
||||
|
||||
alias exiftcl='exiftool -all='
|
||||
alias exift='exiftool'
|
||||
|
||||
alias upgraded='grep -i upgraded /var/log/pacman.log | tac | less'
|
||||
alias installed='grep -i installed /var/log/pacman.log | tac | less'
|
||||
|
||||
# https://archlinux.org/mirrorlist/
|
||||
alias mirrors='reflector --country Brazil,Chile,Colombia --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
|
||||
|
||||
# https://stackoverflow.com/questions/9449778/what-is-the-benefit-of-using-instead-of-backticks-in-shell-scripts#
|
||||
alias open='xdg-open $(fzf)'
|
||||
alias o='xdg-open'
|
||||
|
||||
alias zat='zathura --fork'
|
||||
|
||||
alias trash-dir='cd $HOME/.local/share/Trash'
|
||||
|
||||
#alias fd='cd "$(dirname "$(fzf)")"'
|
||||
|
||||
alias val='valgrind --leak-check=full ./listdir prueba/ > valgrind.output 2>&1'
|
||||
|
||||
alias pampero='ssh slococo@pampero.it.itba.edu.ar'
|
||||
|
||||
alias bd='systemctl start postgresql.service'
|
||||
|
||||
function compile() {
|
||||
if grep -q "i5" /proc/cpuinfo; then
|
||||
|
@ -98,7 +83,6 @@ function gcin() {
|
|||
git remote add origin git@github.com:$1
|
||||
}
|
||||
|
||||
# Start an ssh-agent and run KeePass in order to cache the ssh passwords
|
||||
function gith() {
|
||||
#eval $(ssh-agent)
|
||||
keepass &
|
||||
|
@ -132,7 +116,6 @@ function checkIfStarted() {
|
|||
fi
|
||||
}
|
||||
|
||||
# https://stackoverflow.com/a/61390489
|
||||
function docom() {
|
||||
local dockerID=`docker ps -l -q`
|
||||
docker start $dockerID > /dev/null
|
||||
|
|
Loading…
Reference in New Issue