diff options
Diffstat (limited to 'bash')
| -rwxr-xr-x | bash/.bashrc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index b910453..cd6c966 100755 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -217,6 +217,11 @@ if exists lpass; then | |||
| 217 | 217 | ||
| 218 | cmp=${COMP_WORDS[COMP_CWORD]} | 218 | cmp=${COMP_WORDS[COMP_CWORD]} |
| 219 | search="$(sed 's/\\\ /___/g' <<< $cmp)" | 219 | search="$(sed 's/\\\ /___/g' <<< $cmp)" |
| 220 | |||
| 221 | if [ -z "$search" ]; then | ||
| 222 | return | ||
| 223 | fi | ||
| 224 | |||
| 220 | items=$(lpass ls --format "%an$newline%aN" | sed "s/\ /___/g") | 225 | items=$(lpass ls --format "%an$newline%aN" | sed "s/\ /___/g") |
| 221 | 226 | ||
| 222 | for item in $items; do | 227 | for item in $items; do |
| @@ -256,13 +261,6 @@ if exists pyenv; then | |||
| 256 | export PATH="$PATH:$(pyenv root)/shims" | 261 | export PATH="$PATH:$(pyenv root)/shims" |
| 257 | fi | 262 | fi |
| 258 | 263 | ||
| 259 | if exists xcrun; then | ||
| 260 | SDK_PATH="$(xcrun --show-sdk-path)" | ||
| 261 | PATH="$PATH:$(xcrun --show-sdk-path)/usr/bin" | ||
| 262 | export C_INCLUDE_PATH="$C_INCLUDE_PATH:$SDK_PATH/usr/include" | ||
| 263 | export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:$SDK_PATH/usr/include" | ||
| 264 | fi | ||
| 265 | |||
| 266 | if exists python3; then | 264 | if exists python3; then |
| 267 | alias pyhttpd="python3 -m http.server" | 265 | alias pyhttpd="python3 -m http.server" |
| 268 | fi | 266 | fi |
