From b52e7740c87ac7604367976582af5391f6715a8b Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 23 Aug 2015 15:44:31 +0000 Subject: [PATCH] Added por command --- shells/zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/shells/zshrc b/shells/zshrc index 5ff972c..06af918 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -205,6 +205,16 @@ function rc(){ *) echo "Opts: z v use make" 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(){ #More than 1 arguement if [[ $# > 1 ]] ; then