Skip to content

Commit f15bef6

Browse files
committed
♻️ Refactor and upgrade to OS X 10.5
1 parent e57e97f commit f15bef6

12 files changed

+379
-177
lines changed

.bash_profile

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
export PATH="/usr/local/sbin:/usr/local/bin:$PATH"
2-
export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/2.7.0/bin:$PATH" # homebrew ruby first in PATH
32
export PATH="${HOME}/.cargo/bin:$PATH" # rust binary installation path
3+
# keg-only installs
4+
export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/2.7.0/bin:$PATH"
5+
export PATH="/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin:$PATH"
6+
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
47
export PATH="/Library/TeX/texbin:$PATH" # mactex binary installation path (brew cask install mactex)
58

69
# bash completion and integration
710

811
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
912
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"
13+
# init zoxide (rust) when available
14+
eval "$(zoxide init bash)" || true
1015

1116

1217
# pyenv direnv
1318

1419
eval "$(pyenv init -)"
1520
eval "$(direnv hook bash)"
1621
eval "$(pyenv virtualenv-init -)"
17-
export PROMPT_COMMAND='_pyenv_virtualenv_hook;_direnv_hook;__bp_precmd_invoke_cmd;__bp_interactive_mode;history -a;history -c;history -r'
22+
export PROMPT_COMMAND='_pyenv_virtualenv_hook;_direnv_hook;history -a;history -c;history -r'
1823
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
1924

2025
pyenv activate vv
@@ -30,6 +35,7 @@ export CXX="/usr/local/bin/g++-8"
3035
# export HOMEBREW_CC="/usr/local/bin/gcc-8"
3136
# export HOMEBREW_CXX="/usr/local/bin/g++-8"
3237
export GPG_TTY=$(tty)
38+
export BASH_SILENCE_DEPRECATION_WARNING=1
3339

3440

3541
# aliases
@@ -162,7 +168,11 @@ kubebranch() {
162168
generate_password() {
163169
local defaultsize=42
164170
((test -n "${1:-$defaultsize}" && test "${1:-$defaultsize}" -ge 0) && \
165-
pwgen -s -N 3 -cny ${1:-$defaultsize}) 2>&-;
171+
# -y or --symbols
172+
# Include at least one special symbol in the password
173+
# -B or --ambiguous
174+
# Don't include ambiguous characters in the password
175+
pwgen -s -N 3 -cnBy -r ";'\`\"\|\#\$\&" ${1:-$defaultsize}) 2>&-;
166176
};
167177
168178
# run last modified py file in home directory

.secrets.baseline

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": null,
44
"lines": null
55
},
6-
"generated_at": "2020-07-07T11:44:36Z",
6+
"generated_at": "2021-01-09T15:20:59Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -57,16 +57,7 @@
5757
"name": "TwilioKeyDetector"
5858
}
5959
],
60-
"results": {
61-
"README.md": [
62-
{
63-
"hashed_secret": "60b9c35a33c0f5acde612f2984b6917cb35d6d54",
64-
"is_verified": false,
65-
"line_number": 214,
66-
"type": "Secret Keyword"
67-
}
68-
]
69-
},
60+
"results": {},
7061
"version": "0.13.1",
7162
"word_list": {
7263
"file": null,

0 commit comments

Comments
 (0)