-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
22 lines (19 loc) · 822 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
# Early exit in non-interactive or nix shells
if [[ -z $PS1 ]]; then return; fi
if [[ -n $IN_NIX_SHELL ]]; then return; fi
# export BASHYDM="$HOME/.config/yadmdotfiles/bash"
#
# for fl in /etc/{bash.bashrc,bashrc,skel/.bashrc,profile.d/nix.sh} \
# "$HOME/.bash_aliases" \
# ~/.fzf.bash \
# $BASHYDM/{env,config,local,bashit,bash-it/bash_it.sh,alias,todo}
# do
# [ -r "$fl" ] && source "$fl"
# done
PATH="$HOME/.config/yadmdotfiles/bin:$PATH"
eval "$(direnv hook bash)"
complete -C /run/current-system/sw/bin/vault vault
export EDITOR=/run/current-system/sw/bin/vim
export PASSWORD_STORE_DIR=~/.config/password-store
export NIX_SSHOPTS='-i ~/.ssh/id_ed25519_cuda -o IdentitiesOnly=yes -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'