config/shell: Fix sudo

This commit is contained in:
xerus2000 2020-10-14 13:36:14 +02:00
parent 07b831dedc
commit e90602503f
2 changed files with 1 additions and 2 deletions

View File

@ -70,7 +70,6 @@ alias twtest='( TIMEWARRIORDB=/tmp/timewarriordb && rm -rf ${TIMEWARRIORDB} && m
# Quick shortcuts
alias c='clear'
alias v='nvim'
alias sudo='sudo -v; sudo '
alias lst='( last; last -f /var/log/wtmp.1 ) | grep -v "pts/" | tac | less +G'
alias lar='last | tac'

View File

@ -115,7 +115,7 @@ gitremote() {
git:*) echo "$1" ;;
*) test "$3" = "cau" && 3="CAU-Kiel-Tech-Inf"
test "$3" = "btl" && 3="betweenthelinesev"
echo "git@${1:-github}.com:${3:-xerus2000}/${2:-$(basename $PWD)}.git" ;;
echo "git@${1:-github.com}:${3:-xerus2000}/${2:-$(basename $PWD)}.git" ;;
esac
}