forked from startup-class/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc_custom
More file actions
86 lines (70 loc) · 2.93 KB
/
.bashrc_custom
File metadata and controls
86 lines (70 loc) · 2.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#PS1="\[`tput sc;printf "%$[$COLUMNS]s\r" "[\d \t]";tput rc`\][\u@\h]\w>"
#PS1="`printf "%$[$COLUMNS-17]s\r%s\n" "[\d \t]" "[\u@\h]\w>"`"
#PS1="\u@\h \w ->\n \t \d $ "
#PS1="[\d \t \u@\h \W]$ "
#PS1="\[`tput sc;printf "%$[$COLUMNS]s\r" "[\d \t]";tput rc`\][\u@\h]\w>"
#PS1="`printf "%$[$COLUMNS-17]s\r%s\n" "[\d \t]" "[\u@\h]\w>"`"
#PS1="\u@\h \w ->\n \t \d $ "
#PS1="[\d \t \u@\h \W]$ "
#PS1="[\D{%D %R%p} \u \W]$ "
# From CLEAR Center:
#PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
PS1="\[\e[0;34m\][\D{%D %R%p}\[\033[01;32m\] \u@\h\[\e[0;34m\]: \W]\[\033[00m\]\$ "
# set colors with \e[0;34m, unset with \e[m
# \[ tells bash not to count color codes. fixes line wrapping
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
export PATH=$PATH:/usr/local/mysql/bin
alias c=clear
#export PATH=/Users/jrenslo/miniconda3/bin:/Applications/UMLS/LexicalTools/lvg2018/bin:/Applications/UMLS/public_metamap/bin:$PATH
#ls options, colors and file/directory descriptors
export CLICOLOR=1
export LSCOLORS=exgxcxdxCxegedabagacad
alias ls='ls -Fh'
# alias to run a shiny application locally
#function shiny(){ r -e "library(shiny); runApp(\"$1\")";};
# Setting PATH for Python 3.7
# The original version is saved in .bash_profile.pysave
#PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
#PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
# Add bin for Python 2.7
# can't use " for user path substitution
#PATH=${PATH}:~/Library/Python/2.7/bin
export PATH
# Modify cache location for tensorflow hub
export TFHUB_CACHE_DIR=~/tensorflow_hub_cache/
export PATH="/usr/local/opt/openssl/bin:$PATH"
# openssl bins
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
# start pyenv
# eval "$(pyenv init -)"
# eval "$(pyenv virtualenv-init -)"
# Configure Bash Completion
# installed using homebrew (brew install bash-completion@2)
# for the bash v 5.0 shell (brew install bash, add /usr/local/bin/bash to /etc/shells, run chsh -s /usr/local/bin/bash)
#export BASH_COMPLETION_COMPAT_DIR="/usr/local/etc/bash_completion.d"
#[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
# Enable tab completion
# tab cycles forward
# shift-tab cycles backward
#set completion-ignore-case on
#set show-all-if-ambiguous on
#bind TAB:menu-complete
#bind "\e[Z":menu-complete-backward
alias vnc='ssh -CL 5901:localhost:5901 acis'
# FSL Setup
FSLDIR=/Users/jonrenslo/fsl
PATH=${FSLDIR}/bin:${PATH}
export FSLDIR PATH
. ${FSLDIR}/etc/fslconf/fsl.sh
#uv path
export PATH="$PATH:$HOME/.local/bin"
#java environment manager (jenv) initialization
# export PATH="$HOME/.jenv/bin:$PATH"
# eval "$(jenv init -)"