[profile] add default CDPATH
This commit is contained in:
parent
7ca994de11
commit
0c238a1560
5
.profile
5
.profile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue