-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdotbashrc
More file actions
executable file
·36 lines (28 loc) · 1.14 KB
/
Copy pathdotbashrc
File metadata and controls
executable file
·36 lines (28 loc) · 1.14 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
#!/usr/bin/env bash
[ -z "$PS1" ] && return # do nothing for non-interactive sessions to avoid bugs from sending to stderr/stdout
eval "$(/opt/homebrew/bin/brew shellenv)"
export HOMEBREW_NO_ENV_HINTS=1
source ~/dotfiles/bash/env.sh
source ~/dotfiles/bash/alias.sh
source ~/dotfiles/bash/prompt.sh
source ~/dotfiles/bash/bundler-exec.sh
source ~/dotfiles/bash/copy_on_ssh.sh
source ~/dotfiles/bash/personal.sh
source /opt/homebrew/etc/bash_completion # for kubectl, needs `brew install bash-completion`
for file in ~/dotfiles/autocomplete/* ; do
source "$file"
done
# Mise: multi language version switcher
eval "$(/opt/homebrew/bin/mise activate bash)"
# Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
# secret
file=~/dotfiles/secret/bash.sh
[ -f $file ] && source $file
# TODO: fix chruby https://github.com/ddworken/hishtory/issues/44
# Hishtory Config:
# install via https://github.com/ddworken/hishtory
#export PATH="$PATH:/Users/mgrosser/.hishtory"
#source /Users/mgrosser/.hishtory/config.sh
#hishtory config-set displayed-columns Command 'Exit Code' CWD Runtime # Timestamp Hostname
#hishtory config-set timestamp-format '2006-01-02 15:04:39'