update PATH
This commit is contained in:
parent
d05a31db79
commit
e191bf548f
41
profile
41
profile
|
@ -3,9 +3,10 @@
|
||||||
export EDITOR=/usr/bin/vim
|
export EDITOR=/usr/bin/vim
|
||||||
export BROWSER=/usr/bin/qutebrowser
|
export BROWSER=/usr/bin/qutebrowser
|
||||||
|
|
||||||
export PATH=~/.npm-global/bin:$PATH
|
# export PATH=~/.npm-global/bin:$PATH
|
||||||
export PATH=$(ruby -r rubygems -e "puts Gem.user_dir")/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=/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
|
# https://developers.google.com/web/tools/puppeteer/troubleshooting
|
||||||
export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
|
export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
|
||||||
|
@ -17,40 +18,16 @@ export FZF_DEFAULT_COMMAND='ag --nocolor -g ""'
|
||||||
stty -ixon
|
stty -ixon
|
||||||
#
|
#
|
||||||
# wal
|
# wal
|
||||||
(cat ~/.cache/wal/sequences &)
|
# (cat ~/.cache/wal/sequences &)
|
||||||
|
|
||||||
# autoenv activate
|
# autoenv activate
|
||||||
AUTOENV_ENV_FILENAME=.in
|
# AUTOENV_ENV_FILENAME=.in
|
||||||
AUTOENV_ENV_LEAVE_FILENAME=.out
|
# AUTOENV_ENV_LEAVE_FILENAME=.out
|
||||||
AUTOENV_ENABLE_LEAVE=1
|
# AUTOENV_ENABLE_LEAVE=1
|
||||||
source ~/.autoenv/activate.sh
|
# source ~/.autoenv/activate.sh
|
||||||
|
|
||||||
# custom aliases
|
# custom aliases
|
||||||
[[ -f ~/.config/profile//aliases.sh ]] && . ~/.config/profile/aliases.sh
|
[[ -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
|
# vim: filetype=sh
|
||||||
|
|
Loading…
Reference in New Issue