Bash: config changes
This commit is contained in:
parent
1d652d0417
commit
27e0004b47
2 changed files with 11 additions and 2 deletions
|
@ -41,3 +41,4 @@ alias showcolors='for i in {0..255} ; do \
|
||||||
printf "\n"; \
|
printf "\n"; \
|
||||||
fi; done'
|
fi; done'
|
||||||
|
|
||||||
|
alias scanimage-arcoloc="scanimage -d 'smfp:net;192.168.0.202' --format=jpeg"
|
||||||
|
|
|
@ -52,10 +52,18 @@ export TERMINAL="/usr/bin/terminator"
|
||||||
|
|
||||||
export LC_REALUSER='tbastian'
|
export LC_REALUSER='tbastian'
|
||||||
|
|
||||||
|
# Autojump
|
||||||
|
[ -f /etc/profile.d/autojump.bash ] && source /etc/profile.d/autojump.bash
|
||||||
|
|
||||||
# Opam
|
# Opam
|
||||||
which opam > /dev/null 2>&1 && [ -d ~/.opam ] && eval $(opam config env)
|
which opam > /dev/null 2>&1 && [ -d ~/.opam ] && eval $(opam config env)
|
||||||
|
|
||||||
# Gem
|
# Gem
|
||||||
if [ -d "$HOME/.gem/ruby/2.4.0/bin" ] ; then
|
gempath="$HOME/.gem/ruby"
|
||||||
export PATH="$PATH:$HOME/.gem/ruby/2.4.0/bin"
|
if [ -d "$gempath" ] && [ "$(ls -1 $gempath | wc -l)" -gt 0 ]
|
||||||
|
then
|
||||||
|
cur_version=$(ls -1t $gempath | head -n 1)
|
||||||
|
cur_path="$gempath/$cur_version/bin"
|
||||||
|
export PATH="$PATH:$cur_path"
|
||||||
fi
|
fi
|
||||||
|
unset gempath
|
||||||
|
|
Loading…
Reference in a new issue