aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFivePixels <dylan.bolger00@gmail.com>2023-01-28 18:04:28 -0600
committertest <dylan.bolger00@gmail.com>2023-01-28 18:28:22 -0600
commit912744f686b4d9ed3422c1bbf87a3c590c32b7db (patch)
tree3d350e3226268347d9f6aaac6d5a6d4d28e0519c
parent64218e084ebf94365db0b00662c1acfb99248f40 (diff)
downloaddots-912744f686b4d9ed3422c1bbf87a3c590c32b7db.tar.xz
dots-912744f686b4d9ed3422c1bbf87a3c590c32b7db.zip
Update load_dots prompt
-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