summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index be2cf22..20875ff 100644
--- a/.zshrc
+++ b/.zshrc
@@ -35,7 +35,7 @@ alias ls="ls --color=auto"
alias pacin="sudo pacman -S"
alias pacr="sudo pacman -Rns"
alias pacup="sudo pacman -Syu;checkpkg"
-alias pacsearch="pacaur -Ss"
+alias cower="cower --color=auto"
alias msfconsole="sudo msfconsole --quiet -x \"db_connect root@msf\""
alias irssi="torsocks irssi"
@@ -48,6 +48,16 @@ GIT_PS1_SHOWUNTRACKEDFILES=1
PS1='${return_code}$(__git_ps1 "(%s)")$ '
# Make shell stuff behave nicely
+pacsearch() {
+ if [[ -z $1 ]]; then
+ echo "No targets specified"
+ return
+ fi
+
+ pacman -Ss $1
+ cower -s $1
+}
+
man() {
env \
LESS_TERMCAP_mb=$'\e[01;31m' \