[profile] add default CDPATH

This commit is contained in:
odrling 2023-12-13 01:18:42 +01:00
parent 7ca994de11
commit 0c238a1560
No known key found for this signature in database
GPG key ID: E24CA7508C27AF5B

View file

@ -35,6 +35,9 @@ export FZF_DEFAULT_OPTS="-m"
command -v fd > /dev/null && export FZF_DEFAULT_COMMAND="fd"
export GPG_TTY=$(tty)
export ODRCDPATH=".:$HOME/git"
[ -n "$SSH_CONNECTION" ] && export PINENTRY_USER_DATA="USE_CURSES=1"
[ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ] && . "$HOME/.nix-profile/etc/profile.d/nix.sh"
@ -47,4 +50,6 @@ ulimit -c unlimited
[ -f ~/.profile.local ] && . ~/.profile.local
export CDPATH="$ODRCDPATH"
[ "$(tty)" = '/dev/tty1' ] && exec startsession