mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 06:44:41 +01:00
added id_ed25519 keys
This commit is contained in:
parent
5f8fc8e53c
commit
07e5a472f0
11
bash/.bashrc
11
bash/.bashrc
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# if powerline-shell is available use it.
|
# if powerline-shell is available use it.
|
||||||
function _update_ps1() {
|
function _update_ps1() {
|
||||||
if hash powerline-rs 2>/dev/null; then
|
if hash powerline-rs 2>/dev/null; then
|
||||||
@ -19,8 +20,14 @@ source ~/.variables
|
|||||||
sourceIfExists ~/lib/azure-cli/az.completion
|
sourceIfExists ~/lib/azure-cli/az.completion
|
||||||
eval "$(thefuck --alias)"
|
eval "$(thefuck --alias)"
|
||||||
|
|
||||||
# evals
|
# load keychain with private key
|
||||||
eval $(keychain --eval --quiet ~/.ssh/id_rsa)
|
if test -f "$HOME/.ssh/id_ed25519"; then
|
||||||
|
eval "$(keychain --eval --quiet ~/.ssh/id_ed25519)"
|
||||||
|
else
|
||||||
|
# fallback to older rsa
|
||||||
|
eval "$(keychain --eval --quiet ~/.ssh/id_rsa)"
|
||||||
|
fi
|
||||||
|
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
Loading…
Reference in New Issue
Block a user