config/shell: Fix sudo
This commit is contained in:
parent
07b831dedc
commit
e90602503f
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue