summaryrefslogtreecommitdiff
path: root/functions/load-em.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/load-em.fish')
-rw-r--r--functions/load-em.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions/load-em.fish b/functions/load-em.fish
new file mode 100644
index 0000000..bde7153
--- /dev/null
+++ b/functions/load-em.fish
@@ -0,0 +1,8 @@
+function load-em --description 'Loads Fish shell function descriptions.'
+# Load function information so it shows up in auto completion
+# Original from https://github.com/fish-shell/fish-shell/issues/1915#issuecomment-72315918
+
+ for i in (functions | tr , ' ')
+ functions $i > /dev/null
+ end
+end