-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_bashrc
36 lines (29 loc) · 835 Bytes
/
dot_bashrc
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
# where is this file?
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# include other files relative to this file
source $DIR/dot_alias
source $DIR/dot_functions
# environment variables
export ACK_OPTIONS="--smart-case"
export EDITOR='emacs -nw'
export PATH="~/.local/bin:/opt/local/bin:/opt/local/sbin:${PATH}"
export PS1='\[\e[1;33m\]\u@\h:\w\n$ \[\e[0;0m\]'
export UUIDRE="\w{8}(-\w{4}){3}-\w{12}"
### ruby
export PATH="/home/cesar/.rbenv/shims:~/.local/share/gem/ruby/3.0.0/bin:${PATH}"
export RBENV_SHELL=bash
source '/usr/lib/rbenv/libexec/../completions/rbenv.bash'
command rbenv rehash 2>/dev/null
rbenv() {
local command
command="${1:-}"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
rehash|shell)
eval "$(rbenv "sh-$command" "$@")";;
*)
command rbenv "$command" "$@";;
esac
}