update PATH

This commit is contained in:
ray 2019-05-12 17:32:54 +01:00
parent d05a31db79
commit e191bf548f
1 changed files with 9 additions and 32 deletions

41
profile
View File

@ -3,9 +3,10 @@
export EDITOR=/usr/bin/vim
export BROWSER=/usr/bin/qutebrowser
export PATH=~/.npm-global/bin:$PATH
export PATH=$(ruby -r rubygems -e "puts Gem.user_dir")/bin:$PATH
export PATH=/home/ray/.bin:/home/ray/.local/bin:/home/ray/.config/composer/vendor/bin:$PATH
# export PATH=~/.npm-global/bin:$PATH
# export PATH=$(ruby -r rubygems -e "puts Gem.user_dir")/bin:$PATH
# export PATH=/home/ray/.bin:/home/ray/.local/bin:/home/ray/.config/composer/vendor/bin:$PATH
export PATH=~/.bin:$PATH[
# https://developers.google.com/web/tools/puppeteer/troubleshooting
export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
@ -17,40 +18,16 @@ export FZF_DEFAULT_COMMAND='ag --nocolor -g ""'
stty -ixon
#
# wal
(cat ~/.cache/wal/sequences &)
# (cat ~/.cache/wal/sequences &)
# autoenv activate
AUTOENV_ENV_FILENAME=.in
AUTOENV_ENV_LEAVE_FILENAME=.out
AUTOENV_ENABLE_LEAVE=1
source ~/.autoenv/activate.sh
# AUTOENV_ENV_FILENAME=.in
# AUTOENV_ENV_LEAVE_FILENAME=.out
# AUTOENV_ENABLE_LEAVE=1
# source ~/.autoenv/activate.sh
# custom aliases
[[ -f ~/.config/profile//aliases.sh ]] && . ~/.config/profile/aliases.sh
# # ex - archive extractor
# # usage: ex <file>
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via ex()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
# vim: filetype=sh