You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
8 years ago
|
#
|
||
|
# ~/.bash_profile
|
||
|
#
|
||
|
|
||
|
|
||
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||
|
|
||
|
|
||
|
|
||
8 years ago
|
export TERMINAL=/usr/bin/konsole
|
||
|
export TERM=xterm-256color
|
||
8 years ago
|
export PATH=~/.bin:$PATH:/opt/lampp/bin:.
|
||
8 years ago
|
export EDITOR='vim --servername jab2870'
|
||
|
export CDPATH=.:~:~/Sites
|
||
8 years ago
|
|
||
8 years ago
|
#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')
|
||
7 years ago
|
|
||
7 years ago
|
|
||
|
# tab completion for ssh hosts
|
||
|
complete -o default -o nospace -W "$(/usr/bin/env ruby -ne 'puts $_.split(/[,\s]+/)[1..-1].reject{|host| host.match(/\*|\?/)} if $_.match(/^\s*Host\s+/);' < $HOME/.ssh/config)" scp sftp ssh
|
||
|
|
||
7 years ago
|
#echo -e "Please don't sabotage my computer while I'm away \n\nTo turn on the print server, run the command 'cups'\n\nTo update 3d party plugins, run command 'u3p'" | /usr/bin/cowsay -f tux -W 80
|
||
|
|
||
7 years ago
|
|
||
|
[ -r "$HOME/.smartcd_config" ] && ( [ -n $BASH_VERSION ] || [ -n $ZSH_VERSION ] ) && source ~/.smartcd_config
|
||
7 years ago
|
|
||
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|