Browse Source

Reorganized env variables and added a few aliases

master
Josh Wolfe 2 years ago
parent
commit
d3943960a0
1 changed files with 13 additions and 2 deletions
  1. 13
    2
      zsh/.zshrc

+ 13
- 2
zsh/.zshrc View File

@@ -1,3 +1,10 @@
##
## E N V I R O N M E N T
##
export PAGER='less -R'
export GOROOT=/usr/lib/go
export GOPATH=$HOME/Projects/go

##
## S E T T I N G S
##
@@ -130,6 +137,8 @@ alias pacaur='pacaur --color=always'
alias open='xdg-open'
alias wttr='~/bin/weather'
alias ducolor='cdu -i -s -dh'
alias yaourt='yaourt --color'
alias yp='yaourt --pager --noconfirm'
# List directory contents
alias lsa='ls -lah --color'
alias l='ls --color'
@@ -153,6 +162,10 @@ qemu () {
$(which qemu-system-x86_64) "$@" 2>&1 | grep -v "Gtk-WARNING"
}

pgrepk () {
pgrep -i $1 | xargs kill -9
}

##
## P R O M P T
##
@@ -187,5 +200,3 @@ fi
# added by travis gem
[ -f ~/.travis/travis.sh ] && source ~/.travis/travis.sh

export GOROOT=/usr/lib/go
export GOPATH=$HOME/Projects/go

Loading…
Cancel
Save