aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/fish/functions/load_dots.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/fish/functions/load_dots.fish b/.config/fish/functions/load_dots.fish
index 249bea9..6a01343 100644
--- a/.config/fish/functions/load_dots.fish
+++ b/.config/fish/functions/load_dots.fish
@@ -1,4 +1,10 @@
function load_dots
+ set -l options git
+ count $argv | read arg_count
+ if test $arg_count -eq 0
+ printf "options: %s\n" $options[1]
+ end
+
for option in $argv
switch "$option"
case git