Added ocp alias, don't exit, return if can't upgrade
This commit is contained in:
parent
b1378620fa
commit
4583c864e0
@ -36,3 +36,5 @@
|
|||||||
keepBackup = false
|
keepBackup = false
|
||||||
[credential]
|
[credential]
|
||||||
helper = cache
|
helper = cache
|
||||||
|
[color]
|
||||||
|
ui = auto
|
||||||
|
@ -23,6 +23,7 @@ function asroot(){
|
|||||||
xauth extract $TEMPFILE $DISPLAY
|
xauth extract $TEMPFILE $DISPLAY
|
||||||
sudo zsh -c "xauth merge $TEMPFILE;(srm $TEMPFILE||rm $TEMPFILE)&'$@';"
|
sudo zsh -c "xauth merge $TEMPFILE;(srm $TEMPFILE||rm $TEMPFILE)&'$@';"
|
||||||
}
|
}
|
||||||
|
alias ocp="ocp -vs0 -dcurses"
|
||||||
alias dumpx="xauth extract /tmp/xauthstuff $DISPLAY"
|
alias dumpx="xauth extract /tmp/xauthstuff $DISPLAY"
|
||||||
alias impx="xauth merge /tmp/xauthstuff;rm /tmp/xauthstuff"
|
alias impx="xauth merge /tmp/xauthstuff;rm /tmp/xauthstuff"
|
||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
@ -67,7 +68,7 @@ if test -f /etc/gentoo-release; then
|
|||||||
# If this is a server computer
|
# If this is a server computer
|
||||||
if [ "$(hostname|cut -b1)" = "S" ] ; then
|
if [ "$(hostname|cut -b1)" = "S" ] ; then
|
||||||
echo "You're a server. Exiting"
|
echo "You're a server. Exiting"
|
||||||
exit
|
return
|
||||||
fi
|
fi
|
||||||
cd /usr/portage >/dev/null
|
cd /usr/portage >/dev/null
|
||||||
sudo zsh -c "git up&&echo Done pulling&&eix-update&&echo Done with eix"
|
sudo zsh -c "git up&&echo Done pulling&&eix-update&&echo Done with eix"
|
||||||
|
Loading…
Reference in New Issue
Block a user