dotfiles/dot_config/fish/private_config.fish.tmpl

51 lines
2.3 KiB
Cheetah
Raw Normal View History

2022-04-20 00:35:48 +02:00
fish_add_path /opt/homebrew/bin $HOME/.local/bin $HOME/.cargo/bin
2021-08-10 10:50:48 +02:00
set -gx VIRTUAL_ENV_DISABLE_PROMPT 1
set -gx PYENV_ROOT ~/.pyenv
set -gx PIPENV_PYTHON ~/.pyenv/shims/python
set -gx HOMEBREW_GITHUB_API_TOKEN {{ (bitwardenFields "item" "github.com").fish_api_token.value | quote }}
set -gx HOMEBREW_BINTRAY_USER "crocmagnon"
set -gx HOMEBREW_BINTRAY_KEY {{ (bitwardenFields "item" "Bintray").fish_key.value | quote }}
set -gx GOPATH $HOME/Projects/golang
set -gx LANG en_US.UTF-8
2022-03-31 09:26:41 +02:00
set -gx KUBECONFIG $HOME/.kube/config-njj.yml:$HOME/.kube/config-ber.yml
2021-08-10 10:50:48 +02:00
# Also: $HOME/.kube/config-mt.yml:$HOME/.kube/config-itsf-test.yml
set -gx BAT_THEME "Solarized (dark)"
set -gx SCW_SECRET_TOKEN {{ (bitwardenFields "item" "console.scaleway.com").fish_secret_token.value | quote }}
set -gx SCW_ACCESS_KEY {{ (bitwardenFields "item" "console.scaleway.com").fish_access_key.value | quote }}
set -gx GITLAB_TOKEN {{ (bitwardenFields "item" "Gitlab ITSF").fish_token.value | quote }}
set -gx GITLAB_URL "https://git.itsf.io"
set -gx GITLABBER_FOLDER_NAMING path
set -gx GITLABBER_CLONE_METHOD ssh
set -gx GITLABBER_GIT_CONCURRENCY 10
2021-12-05 10:07:50 +01:00
set -gx PYPI_USERNAME __token__
set -gx PYPI_TOKEN {{ (bitwardenFields "item" "PyPi").token.value | quote }}
2021-08-10 10:50:48 +02:00
2021-08-22 10:05:45 +02:00
set -gx GITEA_TOKEN {{ (bitwardenFields "item" "git.augendre.info").fish_config_token.value | quote }}
2022-02-23 21:15:05 +01:00
set -g fish_greeting "Yo ✌🏻Bien ?"
2021-08-10 10:50:48 +02:00
# Install python with pyenv with tcl/tk support
# https://stackoverflow.com/a/60469203/2758732
set -gx PYTHON_CONFIGURE_OPTS "--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
status is-login; and pyenv init --path | source
status --is-interactive; and pyenv init - | source
status --is-interactive; and pyenv virtualenv-init - | source
#eval (ssh-agent -c)
#gpgconf --launch gpg-agent
#set -gx SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
2022-03-30 19:59:23 +02:00
set -gx PIPX_DEFAULT_PYTHON "$HOME/.pyenv/versions/3.10.3/bin/python"
2021-08-10 10:50:48 +02:00
set -gx LIBRARY_PATH $LIBRARY_PATH /usr/local/opt/openssl/lib/
set -gx EDITOR vim
set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject
2022-06-08 13:43:42 +02:00
#set -g tide_right_prompt_items status cmd_duration context jobs virtual_env rustc go kubectl
2021-08-10 10:50:48 +02:00
direnv hook fish | source
2022-01-25 13:13:41 +01:00
alias wg "sudo wg"
alias wg-quick "sudo wg-quick"