[omf] Correctly source omf *before* install

This commit is contained in:
Sebastian Schulze 2017-02-17 11:51:26 +01:00
parent 3b11df7083
commit cf204c3233
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,11 @@
# Source OMF
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Load Oh My Fish configuration.
source $OMF_PATH/init.fish
set fish_greeting
set -x EDITOR 'emacsclient -t'
set -x GIT_EDITOR $EDITOR