Added por command
This commit is contained in:
parent
c1f67581b0
commit
b52e7740c8
10
shells/zshrc
10
shells/zshrc
@ -205,6 +205,16 @@ function rc(){
|
|||||||
*) echo "Opts: z v use make"
|
*) echo "Opts: z v use make"
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
function por(){
|
||||||
|
case $1 in
|
||||||
|
use) sudo vim /etc/portage/package.use/package.use;;
|
||||||
|
make) sudo vim /etc/portage/make.conf;;
|
||||||
|
unmask) sudo vim /etc/portage/package.unmask;;
|
||||||
|
mask) sudo vim /etc/portage/package.mask/package.mask;;
|
||||||
|
accept_keywords) sudo vim /etc/portage/package.accept_keywords/package.accept_keywords;;
|
||||||
|
*) echo "Opts: use make unmask mask accept_keywords"
|
||||||
|
esac
|
||||||
|
}
|
||||||
function k(){
|
function k(){
|
||||||
#More than 1 arguement
|
#More than 1 arguement
|
||||||
if [[ $# > 1 ]] ; then
|
if [[ $# > 1 ]] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user