Shell config changes

This commit is contained in:
Jonathan Hodgson 2020-03-11 12:56:06 +00:00
parent 6529b587ad
commit 5cad599fb2
5 changed files with 58 additions and 4 deletions

View file

@ -1,24 +0,0 @@
export LANG="en_GB.UTF-8"
export TERMINAL=/usr/local/bin/st
export TERM=xterm-256color
export EDITOR='vim'
export READER='zathura'
export CDPATH=.:~:~/Projects
#Adds a list of all the sub directories in my .bin folder to a variable called mypath
mypath="$HOME/.bin"
# Adds sub folders in by .bin directory to the PATH
for d in "$HOME"/.bin/*/; do
mypath+=":$d"
done
export PATH=~/Projects/current/bin:$mypath:$PATH:.
#Ruby things
GEM_HOME=$(ls -t -U | ruby -e 'puts Gem.user_dir')
GEM_PATH=$GEM_HOME
export PATH=$PATH:$GEM_HOME/bin
export GEM_HOME=$(ruby -e 'print Gem.user_dir')
#echo -e "Please don't sabotage my computer while I'm away \n\nTo turn on the print server, run the command 'cups'" | /usr/bin/cowsay -f tux -W 80