Commit 8aa60c55 authored by Bruno Pinto's avatar Bruno Pinto

Do not source `events.fish`

We don't use it for anything.
parent 55aa2de7
...@@ -9,15 +9,14 @@ ...@@ -9,15 +9,14 @@
# + Emit init_<pkg> event # + Emit init_<pkg> event
# #
# + Autoload {$OMF_PATH,$OMF_CONFIG}/functions # + Autoload {$OMF_PATH,$OMF_CONFIG}/functions
# + Source {$OMF_PATH,$OMF_CONFIG}/events
# + Source $OMF_CONFIG/init.fish # + Source $OMF_CONFIG/init.fish
# #
# ENV # ENV
# OSTYPE Operating system. # OSTYPE Operating system.
# RESET_PATH Original $PATH preseved across Oh My Fish reloads. # RESET_PATH Original $PATH preseved across Oh My Fish reloads.
# OMF_PATH Set in ~/.config/fish/config.fish # OMF_PATH ~/.local/share/omf by default.
# OMF_IGNORE List of packages to ignore. # OMF_IGNORE List of packages to ignore.
# OMF_CONFIG Same as OMF_PATH. ~/.dotfiles by default. # OMF_CONFIG ~/.config/omf by default.
# OMF_VERSION Oh My Fish! version # OMF_VERSION Oh My Fish! version
if set -q RESET_PATH if set -q RESET_PATH
...@@ -51,8 +50,7 @@ end ...@@ -51,8 +50,7 @@ end
autoload $OMF_CONFIG/functions autoload $OMF_CONFIG/functions
autoload $user_function_path autoload $user_function_path
for path in {$OMF_PATH,$OMF_CONFIG}/events.fish $OMF_CONFIG/init.fish # Source custom init.fish file
source $path ^/dev/null source $OMF_CONFIG/init.fish ^/dev/null
end
set -g OMF_VERSION "1.0.0" set -g OMF_VERSION "1.0.0"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment