29 lines
560 B
Bash
29 lines
560 B
Bash
# load Cargo
|
|
if [ -f "$HOME/.cargo/env" ]; then
|
|
. "$HOME/.cargo/env"
|
|
fi
|
|
|
|
# load Guix
|
|
export GUIX_PROFILE="/home/nora/.config/guix/current"
|
|
if [ -f "$GUIX_PROFILE/etc/profile" ]; then
|
|
. "$GUIX_PROFILE/etc/profile"
|
|
fi
|
|
|
|
# load Guix stuff, if it exists
|
|
if [[ -d "$HOME/.zsh/functions" ]]; then
|
|
export fpath=(~/.zsh/functions $fpath)
|
|
autoload -U compinit && compinit
|
|
fi
|
|
|
|
export NOTESDIR="$HOME/Notes"
|
|
export PATH="$HOME/.bin:$HOME/.local/bin:$NOTESDIR/bin:$PATH"
|
|
|
|
function set_win_title(){
|
|
echo -ne "\033]0;\007"
|
|
}
|
|
|
|
precmd_functions+=(set_win_title)
|
|
|
|
fortune
|
|
|