-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
74 lines (56 loc) · 1.79 KB
/
.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
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
# shellcheck disable=2148
export GIT_PROMPT=true
export KUBE_PROMPT=true
source ~/.local/share/xelabash/xela.bash
source ~/.bash_aliases
set -o vi
# ~/.bashrc
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
source <(carapace _carapace)
eval "$(atuin init bash --disable-up-arrow)"
# Use bash-completion, if available
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] &&
. /usr/share/bash-completion/bash_completion
# Start gpg-agent if not already running
GPG_AGENT_INFO=$(gpgconf --list-dirs agent-socket)
export GPG_AGENT_INFO
GPG_TTY=$(tty)
export GPG_TTY
# If SSH_AUTH_SOCK is not set, set it to gpg-agent's SSH socket
if [ -z "$SSH_AUTH_SOCK" ] && [ -S "$GPG_AGENT_INFO.ssh" ]; then
export SSH_AUTH_SOCK="$GPG_AGENT_INFO.ssh"
fi
# source "$HOME/.rye/env"
# source rund bash
# eval "$(starship init bash)"
# ENV. VARIABLES
# pass
OPENAI_API_KEY=$(pass show openai/api-key)
export OPENAI_API_KEY
GITHUB_TOKEN=$(pass show github/token)
export GITHUB_TOKEN
SRC_ACCESS_TOKEN=$(pass show sg/token)
export SRC_ACCESS_TOKEN
SRC_ENDPOINT=$(pass show sg/endpoint)
export SRC_ENDPOINT
GITLAB_TOKEN=$(pass show gitlab/access-token)
export GITLAB_TOKEN
export _JAVA_AWT_WM_NONREPARENTING=1
export AWT_TOOLKIT=MToolkit
export GDK_BACKEND=wayland
export HOMEBREW_NO_AUTO_UPDATE=1
export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
export HYPRSHOT_DIR=$HOME/screenshots
export EDITOR=/home/marcel/.local/share/bob/nvim-bin/nvim
export SUDO_EDITOR=/home/marcel/.local/share/bob/nvim-bin/nvim
export TERMINAL=alacritty
ANTHROPIC_API_KEY=$(pass show anthropic/api-key)
export ANTHROPIC_API_KEY
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
function so() {
source "$HOME/.bashrc"
}
eval "$(zoxide init bash)"
export PATH="/home/$USER/.local/share/bob/nvim-bin:$PATH"