@heyitsiveen/dotfiles 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/index.mjs +10 -7
  2. package/dotfiles/macos/.config/fish/completions/fisher.fish +7 -0
  3. package/dotfiles/macos/.config/fish/completions/tide.fish +13 -0
  4. package/dotfiles/macos/.config/fish/conf.d/_tide_init.fish +44 -0
  5. package/dotfiles/macos/.config/fish/fish_plugins +2 -0
  6. package/dotfiles/macos/.config/fish/functions/_tide_1_line_prompt.fish +19 -0
  7. package/dotfiles/macos/.config/fish/functions/_tide_2_line_prompt.fish +31 -0
  8. package/dotfiles/macos/.config/fish/functions/_tide_cache_variables.fish +17 -0
  9. package/dotfiles/macos/.config/fish/functions/_tide_detect_os.fish +76 -0
  10. package/dotfiles/macos/.config/fish/functions/_tide_find_and_remove.fish +3 -0
  11. package/dotfiles/macos/.config/fish/functions/_tide_fish_colorize.fish +7 -0
  12. package/dotfiles/macos/.config/fish/functions/_tide_item_aws.fish +11 -0
  13. package/dotfiles/macos/.config/fish/functions/_tide_item_bun.fish +6 -0
  14. package/dotfiles/macos/.config/fish/functions/_tide_item_character.fish +17 -0
  15. package/dotfiles/macos/.config/fish/functions/_tide_item_cmd_duration.fish +12 -0
  16. package/dotfiles/macos/.config/fish/functions/_tide_item_context.fish +14 -0
  17. package/dotfiles/macos/.config/fish/functions/_tide_item_crystal.fish +6 -0
  18. package/dotfiles/macos/.config/fish/functions/_tide_item_direnv.fish +7 -0
  19. package/dotfiles/macos/.config/fish/functions/_tide_item_distrobox.fish +4 -0
  20. package/dotfiles/macos/.config/fish/functions/_tide_item_docker.fish +5 -0
  21. package/dotfiles/macos/.config/fish/functions/_tide_item_elixir.fish +4 -0
  22. package/dotfiles/macos/.config/fish/functions/_tide_item_gcloud.fish +8 -0
  23. package/dotfiles/macos/.config/fish/functions/_tide_item_git.fish +72 -0
  24. package/dotfiles/macos/.config/fish/functions/_tide_item_go.fish +6 -0
  25. package/dotfiles/macos/.config/fish/functions/_tide_item_java.fish +6 -0
  26. package/dotfiles/macos/.config/fish/functions/_tide_item_jobs.fish +7 -0
  27. package/dotfiles/macos/.config/fish/functions/_tide_item_kubectl.fish +4 -0
  28. package/dotfiles/macos/.config/fish/functions/_tide_item_nix_shell.fish +3 -0
  29. package/dotfiles/macos/.config/fish/functions/_tide_item_node.fish +6 -0
  30. package/dotfiles/macos/.config/fish/functions/_tide_item_os.fish +3 -0
  31. package/dotfiles/macos/.config/fish/functions/_tide_item_php.fish +6 -0
  32. package/dotfiles/macos/.config/fish/functions/_tide_item_private_mode.fish +3 -0
  33. package/dotfiles/macos/.config/fish/functions/_tide_item_pulumi.fish +19 -0
  34. package/dotfiles/macos/.config/fish/functions/_tide_item_python.fish +27 -0
  35. package/dotfiles/macos/.config/fish/functions/_tide_item_ruby.fish +6 -0
  36. package/dotfiles/macos/.config/fish/functions/_tide_item_rustc.fish +6 -0
  37. package/dotfiles/macos/.config/fish/functions/_tide_item_shlvl.fish +4 -0
  38. package/dotfiles/macos/.config/fish/functions/_tide_item_status.fish +15 -0
  39. package/dotfiles/macos/.config/fish/functions/_tide_item_terraform.fish +5 -0
  40. package/dotfiles/macos/.config/fish/functions/_tide_item_time.fish +3 -0
  41. package/dotfiles/macos/.config/fish/functions/_tide_item_toolbox.fish +4 -0
  42. package/dotfiles/macos/.config/fish/functions/_tide_item_vi_mode.fish +16 -0
  43. package/dotfiles/macos/.config/fish/functions/_tide_item_zig.fish +6 -0
  44. package/dotfiles/macos/.config/fish/functions/_tide_parent_dirs.fish +10 -0
  45. package/dotfiles/macos/.config/fish/functions/_tide_print_item.fish +22 -0
  46. package/dotfiles/macos/.config/fish/functions/_tide_pwd.fish +42 -0
  47. package/dotfiles/macos/.config/fish/functions/_tide_remove_unusable_items.fish +25 -0
  48. package/dotfiles/macos/.config/fish/functions/_tide_sub_bug-report.fish +73 -0
  49. package/dotfiles/macos/.config/fish/functions/_tide_sub_configure.fish +156 -0
  50. package/dotfiles/macos/.config/fish/functions/_tide_sub_reload.fish +3 -0
  51. package/dotfiles/macos/.config/fish/functions/fish_greeting.fish +1 -4
  52. package/dotfiles/macos/.config/fish/functions/fish_mode_prompt.fish +1 -0
  53. package/dotfiles/macos/.config/fish/functions/fish_prompt.fish +170 -0
  54. package/dotfiles/macos/.config/fish/functions/fisher.fish +251 -0
  55. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/finish.fish +46 -0
  56. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/icons.fish +33 -0
  57. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/prompt_colors.fish +26 -0
  58. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/prompt_connection.fish +31 -0
  59. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/prompt_connection_andor_frame_color.fish +40 -0
  60. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/prompt_spacing.fish +22 -0
  61. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/show_time.fish +33 -0
  62. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/style.fish +36 -0
  63. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/all/transient.fish +22 -0
  64. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish +38 -0
  65. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish +40 -0
  66. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/lean/lean_prompt_height.fish +26 -0
  67. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish +32 -0
  68. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_style.fish +51 -0
  69. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_tails.fish +40 -0
  70. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/powerline/powerline_right_prompt_frame.fish +20 -0
  71. package/dotfiles/macos/.config/fish/functions/tide/configure/choices/rainbow/rainbow_prompt_separators.fish +40 -0
  72. package/dotfiles/macos/.config/fish/functions/tide/configure/configs/classic.fish +118 -0
  73. package/dotfiles/macos/.config/fish/functions/tide/configure/configs/classic_16color.fish +91 -0
  74. package/dotfiles/macos/.config/fish/functions/tide/configure/configs/lean.fish +118 -0
  75. package/dotfiles/macos/.config/fish/functions/tide/configure/configs/lean_16color.fish +91 -0
  76. package/dotfiles/macos/.config/fish/functions/tide/configure/configs/rainbow.fish +118 -0
  77. package/dotfiles/macos/.config/fish/functions/tide/configure/configs/rainbow_16color.fish +95 -0
  78. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_cache_variables.fish +41 -0
  79. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_item_character.fish +8 -0
  80. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_item_cmd_duration.fish +3 -0
  81. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_item_git.fish +3 -0
  82. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_item_newline.fish +5 -0
  83. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_item_os.fish +3 -0
  84. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_item_time.fish +3 -0
  85. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_print_item.fish +22 -0
  86. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_prompt.fish +42 -0
  87. package/dotfiles/macos/.config/fish/functions/tide/configure/functions/_fake_tide_pwd.fish +11 -0
  88. package/dotfiles/macos/.config/fish/functions/tide/configure/icons.fish +41 -0
  89. package/dotfiles/macos/.config/fish/functions/tide.fish +28 -0
  90. package/dotfiles/windows/powershell/Profile.ps1 +0 -4
  91. package/dotfiles/windows/powershell/functions/Switch-PromptPalette.ps1 +1 -1
  92. package/dotfiles/windows/powershell/modules/prompt.ps1 +2 -2
  93. package/package.json +1 -1
@@ -0,0 +1,118 @@
1
+ tide_aws_bg_color FF9900
2
+ tide_aws_color 232F3E
3
+ tide_bun_bg_color FBF0DF
4
+ tide_bun_color 14151A
5
+ tide_character_color $_tide_color_green
6
+ tide_character_color_failure FF0000
7
+ tide_cmd_duration_bg_color C4A000
8
+ tide_cmd_duration_color 000000
9
+ tide_cmd_duration_decimals 0
10
+ tide_cmd_duration_threshold 3000
11
+ tide_context_always_display false
12
+ tide_context_bg_color 444444
13
+ tide_context_color_default D7AF87
14
+ tide_context_color_root $_tide_color_gold
15
+ tide_context_color_ssh D7AF87
16
+ tide_context_hostname_parts 1
17
+ tide_crystal_bg_color FFFFFF
18
+ tide_crystal_color 000000
19
+ tide_direnv_bg_color $_tide_color_gold
20
+ tide_direnv_bg_color_denied FF0000
21
+ tide_direnv_color 000000
22
+ tide_direnv_color_denied 000000
23
+ tide_distrobox_bg_color FF00FF
24
+ tide_distrobox_color 000000
25
+ tide_docker_bg_color 2496ED
26
+ tide_docker_color 000000
27
+ tide_docker_default_contexts default colima
28
+ tide_elixir_bg_color 4E2A8E
29
+ tide_elixir_color 000000
30
+ tide_gcloud_bg_color 4285F4
31
+ tide_gcloud_color 000000
32
+ tide_git_bg_color 4E9A06
33
+ tide_git_bg_color_unstable C4A000
34
+ tide_git_bg_color_urgent CC0000
35
+ tide_git_color_branch 000000
36
+ tide_git_color_conflicted 000000
37
+ tide_git_color_dirty 000000
38
+ tide_git_color_operation 000000
39
+ tide_git_color_staged 000000
40
+ tide_git_color_stash 000000
41
+ tide_git_color_untracked 000000
42
+ tide_git_color_upstream 000000
43
+ tide_git_truncation_length 24
44
+ tide_git_truncation_strategy
45
+ tide_go_bg_color 00ACD7
46
+ tide_go_color 000000
47
+ tide_java_bg_color ED8B00
48
+ tide_java_color 000000
49
+ tide_jobs_bg_color 444444
50
+ tide_jobs_color 4E9A06
51
+ tide_jobs_number_threshold 1000
52
+ tide_kubectl_bg_color 326CE5
53
+ tide_kubectl_color 000000
54
+ tide_left_prompt_frame_enabled true
55
+ tide_left_prompt_items pwd git newline
56
+ tide_left_prompt_prefix ''
57
+ tide_left_prompt_separator_diff_color 
58
+ tide_left_prompt_separator_same_color 
59
+ tide_left_prompt_suffix 
60
+ tide_nix_shell_bg_color 7EBAE4
61
+ tide_nix_shell_color 000000
62
+ tide_node_bg_color 44883E
63
+ tide_node_color 000000
64
+ tide_os_bg_color $os_branding_bg_color
65
+ tide_os_color $os_branding_color
66
+ tide_php_bg_color 617CBE
67
+ tide_php_color 000000
68
+ tide_private_mode_bg_color F1F3F4
69
+ tide_private_mode_color 000000
70
+ tide_prompt_add_newline_before true
71
+ tide_prompt_color_frame_and_connection 6C6C6C
72
+ tide_prompt_color_separator_same_color 949494
73
+ tide_prompt_min_cols 34
74
+ tide_prompt_pad_items true
75
+ tide_prompt_transient_enabled false
76
+ tide_pulumi_bg_color F7BF2A
77
+ tide_pulumi_color 000000
78
+ tide_pwd_bg_color 3465A4
79
+ tide_pwd_color_anchors E4E4E4
80
+ tide_pwd_color_dirs E4E4E4
81
+ tide_pwd_color_truncated_dirs BCBCBC
82
+ tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform bun.lockb Cargo.toml composer.json CVS go.mod package.json build.zig
83
+ tide_python_bg_color 444444
84
+ tide_python_color 00AFAF
85
+ tide_right_prompt_frame_enabled true
86
+ tide_right_prompt_items status cmd_duration context jobs direnv bun node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig
87
+ tide_right_prompt_prefix 
88
+ tide_right_prompt_separator_diff_color 
89
+ tide_right_prompt_separator_same_color 
90
+ tide_right_prompt_suffix ''
91
+ tide_ruby_bg_color B31209
92
+ tide_ruby_color 000000
93
+ tide_rustc_bg_color F74C00
94
+ tide_rustc_color 000000
95
+ tide_shlvl_bg_color 808000
96
+ tide_shlvl_color 000000
97
+ tide_shlvl_threshold 1
98
+ tide_status_bg_color 2E3436
99
+ tide_status_bg_color_failure CC0000
100
+ tide_status_color 4E9A06
101
+ tide_status_color_failure FFFF00
102
+ tide_terraform_bg_color 800080
103
+ tide_terraform_color 000000
104
+ tide_time_bg_color D3D7CF
105
+ tide_time_color 000000
106
+ tide_time_format %T
107
+ tide_toolbox_bg_color 613583
108
+ tide_toolbox_color 000000
109
+ tide_vi_mode_bg_color_default 949494
110
+ tide_vi_mode_bg_color_insert 87AFAF
111
+ tide_vi_mode_bg_color_replace 87AF87
112
+ tide_vi_mode_bg_color_visual FF8700
113
+ tide_vi_mode_color_default 000000
114
+ tide_vi_mode_color_insert 000000
115
+ tide_vi_mode_color_replace 000000
116
+ tide_vi_mode_color_visual 000000
117
+ tide_zig_bg_color F7A41D
118
+ tide_zig_color 000000
@@ -0,0 +1,95 @@
1
+ tide_aws_bg_color yellow
2
+ tide_aws_color brblack
3
+ tide_bun_bg_color white
4
+ tide_bun_color black
5
+ tide_character_color brgreen
6
+ tide_character_color_failure brred
7
+ tide_cmd_duration_bg_color yellow
8
+ tide_cmd_duration_color black
9
+ tide_context_bg_color brblack
10
+ tide_context_color_default yellow
11
+ tide_context_color_root yellow
12
+ tide_context_color_ssh yellow
13
+ tide_crystal_bg_color brwhite
14
+ tide_crystal_color black
15
+ tide_direnv_bg_color bryellow
16
+ tide_direnv_bg_color_denied brred
17
+ tide_direnv_color black
18
+ tide_direnv_color_denied black
19
+ tide_distrobox_bg_color brmagenta
20
+ tide_distrobox_color black
21
+ tide_docker_bg_color blue
22
+ tide_docker_color black
23
+ tide_elixir_bg_color magenta
24
+ tide_elixir_color black
25
+ tide_gcloud_bg_color blue
26
+ tide_gcloud_color black
27
+ tide_git_bg_color green
28
+ tide_git_bg_color_unstable yellow
29
+ tide_git_bg_color_urgent red
30
+ tide_git_color_branch black
31
+ tide_git_color_conflicted black
32
+ tide_git_color_dirty black
33
+ tide_git_color_operation black
34
+ tide_git_color_staged black
35
+ tide_git_color_stash black
36
+ tide_git_color_untracked black
37
+ tide_git_color_upstream black
38
+ tide_go_bg_color brcyan
39
+ tide_go_color black
40
+ tide_java_bg_color yellow
41
+ tide_java_color black
42
+ tide_jobs_bg_color brblack
43
+ tide_jobs_color green
44
+ tide_kubectl_bg_color blue
45
+ tide_kubectl_color black
46
+ tide_nix_shell_bg_color brblue
47
+ tide_nix_shell_color black
48
+ tide_node_bg_color green
49
+ tide_node_color black
50
+ tide_os_bg_color white
51
+ tide_os_color black
52
+ tide_php_bg_color blue
53
+ tide_php_color black
54
+ tide_private_mode_bg_color brwhite
55
+ tide_private_mode_color black
56
+ tide_prompt_color_frame_and_connection brblack
57
+ tide_prompt_color_separator_same_color brblack
58
+ tide_pulumi_bg_color yellow
59
+ tide_pulumi_color black
60
+ tide_pwd_bg_color blue
61
+ tide_pwd_color_anchors brwhite
62
+ tide_pwd_color_dirs brwhite
63
+ tide_pwd_color_truncated_dirs white
64
+ tide_python_bg_color brblack
65
+ tide_python_color cyan
66
+ tide_ruby_bg_color red
67
+ tide_ruby_color black
68
+ tide_rustc_bg_color red
69
+ tide_rustc_color black
70
+ tide_shlvl_bg_color yellow
71
+ tide_shlvl_color black
72
+ tide_status_bg_color black
73
+ tide_status_bg_color_failure red
74
+ tide_status_color green
75
+ tide_status_color_failure bryellow
76
+ tide_terraform_bg_color magenta
77
+ tide_terraform_color black
78
+ tide_time_bg_color white
79
+ tide_time_color black
80
+ tide_toolbox_bg_color magenta
81
+ tide_toolbox_color black
82
+ tide_vi_mode_bg_color_default white
83
+ tide_vi_mode_bg_color_insert cyan
84
+ tide_vi_mode_bg_color_replace green
85
+ tide_vi_mode_bg_color_visual yellow
86
+ tide_vi_mode_color_default black
87
+ tide_vi_mode_color_insert black
88
+ tide_vi_mode_color_replace black
89
+ tide_vi_mode_color_visual black
90
+ tide_vi_mode_icon_default D
91
+ tide_vi_mode_icon_insert I
92
+ tide_vi_mode_icon_replace R
93
+ tide_vi_mode_icon_visual V
94
+ tide_zig_bg_color yellow
95
+ tide_zig_color black
@@ -0,0 +1,41 @@
1
+ function _fake_tide_cache_variables
2
+ # pwd
3
+ set_color -o $fake_tide_pwd_color_anchors | read -gx _fake_tide_color_anchors
4
+ set -gx _fake_tide_color_truncated_dirs "$(set_color $fake_tide_pwd_color_truncated_dirs)"
5
+ set -gx _fake_tide_reset_to_color_dirs (set_color normal -b $fake_tide_pwd_bg_color; set_color $fake_tide_pwd_color_dirs)
6
+
7
+ # git
8
+ contains git $fake_tide_left_prompt_items $fake_tide_right_prompt_items &&
9
+ set -gx _fake_tide_location_color "$(set_color $fake_tide_git_color_branch)"
10
+
11
+ # private_mode
12
+ if contains private_mode $fake_tide_left_prompt_items $fake_tide_right_prompt_items && test -n "$fish_private_mode"
13
+ set -gx _fake_tide_private_mode
14
+ else
15
+ set -e _fake_tide_private_mode
16
+ end
17
+
18
+ # Same-color-separator color
19
+ set -gx _fake_tide_color_separator_same_color "$(set_color $fake_tide_prompt_color_separator_same_color)"
20
+
21
+ # two line prompt
22
+ if contains newline $fake_tide_left_prompt_items
23
+ set_color $fake_tide_prompt_color_frame_and_connection -b normal | read -gx _fake_tide_prompt_and_frame_color
24
+ else
25
+ set -e _fake_tide_prompt_and_frame_color
26
+ end
27
+
28
+ # newline before
29
+ if test "$fake_tide_prompt_add_newline_before" = true
30
+ set -g _fake_tide_add_newline ''
31
+ else
32
+ set -e _fake_tide_add_newline
33
+ end
34
+
35
+ # item padding
36
+ if test "$fake_tide_prompt_pad_items" = true
37
+ set -gx _fake_tide_pad ' '
38
+ else
39
+ set -e _fake_tide_pad
40
+ end
41
+ end
@@ -0,0 +1,8 @@
1
+ function _fake_tide_item_character
2
+ set_color $fake_tide_character_color
3
+ if contains newline $fake_tide_left_prompt_items || set -q _configure_transient
4
+ echo -ns $fake_tide_character_icon
5
+ else
6
+ echo -ns ' '$fake_tide_character_icon
7
+ end
8
+ end
@@ -0,0 +1,3 @@
1
+ function _fake_tide_item_cmd_duration
2
+ _fake_tide_print_item cmd_duration $fake_tide_cmd_duration_icon' ' 5s
3
+ end
@@ -0,0 +1,3 @@
1
+ function _fake_tide_item_git
2
+ _fake_tide_print_item git (set_color $fake_tide_git_color_branch) $fake_tide_git_icon' ' main
3
+ end
@@ -0,0 +1,5 @@
1
+ function _fake_tide_item_newline
2
+ set_color $prev_bg_color -b normal
3
+ var=fake_tide_"$_fake_tide_side"_prompt_suffix echo $$var
4
+ set -g add_prefix
5
+ end
@@ -0,0 +1,3 @@
1
+ function _fake_tide_item_os
2
+ _fake_tide_print_item os $fake_tide_os_icon
3
+ end
@@ -0,0 +1,3 @@
1
+ function _fake_tide_item_time
2
+ _fake_tide_print_item time (date +$fake_tide_time_format)
3
+ end
@@ -0,0 +1,22 @@
1
+ function _fake_tide_print_item -a item
2
+ var=fake_tide_"$item"_bg_color set -f item_bg_color $$var
3
+
4
+ if set -e add_prefix
5
+ set_color $item_bg_color -b normal
6
+ var=fake_tide_"$_fake_tide_side"_prompt_prefix echo -ns $$var
7
+ else if test "$item_bg_color" = "$prev_bg_color"
8
+ var=fake_tide_"$_fake_tide_side"_prompt_separator_same_color echo -ns $_fake_tide_color_separator_same_color$$var
9
+ else if test "$_fake_tide_side" = left
10
+ set_color $prev_bg_color -b $item_bg_color
11
+ echo -ns $fake_tide_left_prompt_separator_diff_color
12
+ else
13
+ set_color $item_bg_color -b $prev_bg_color
14
+ echo -ns $fake_tide_right_prompt_separator_diff_color
15
+ end
16
+
17
+ var=fake_tide_"$item"_color set_color $$var -b $item_bg_color
18
+
19
+ echo -ns $_fake_tide_pad $argv[2..] $_fake_tide_pad
20
+
21
+ set -g prev_bg_color $item_bg_color
22
+ end
@@ -0,0 +1,42 @@
1
+ function _fake_tide_prompt
2
+ set -g add_prefix
3
+ _fake_tide_side=left set -f left (for item in $fake_tide_left_prompt_items
4
+ _fake_tide_item_$item
5
+ end
6
+ if not set -e add_prefix
7
+ set_color $prev_bg_color -b normal
8
+ echo -ns $fake_tide_left_prompt_suffix
9
+ end)
10
+
11
+ set -g add_prefix
12
+ _fake_tide_side=right set -f right (for item in $fake_tide_right_prompt_items
13
+ _fake_tide_item_$item
14
+ end
15
+ if not set -e add_prefix
16
+ set_color $prev_bg_color -b normal
17
+ echo -ns $fake_tide_right_prompt_suffix
18
+ end)
19
+
20
+ if set -q _fake_tide_prompt_and_frame_color # If prompt is two lines
21
+ test "$fake_tide_left_prompt_frame_enabled" = true &&
22
+ set left[1] "$_fake_tide_prompt_and_frame_color╭─$left[1]" &&
23
+ set left[2] "$_fake_tide_prompt_and_frame_color╰─$left[2]"
24
+ test "$fake_tide_right_prompt_frame_enabled" = true &&
25
+ set right[1] "$right[1]$_fake_tide_prompt_and_frame_color─╮" &&
26
+ set right[2] "$right[2]$_fake_tide_prompt_and_frame_color─╯"
27
+
28
+ # 5 = @PWD@ length which will be replaced
29
+ math $fake_columns+5-(string length --visible "$left[1]$right[1]") | read -lx dist_btwn_sides
30
+ echo -ns "$right[2]"\n(string replace @PWD@ (_fake_tide_pwd) "$left[1]")$_fake_tide_prompt_and_frame_color
31
+
32
+ string repeat --no-newline --max (math max 0, $dist_btwn_sides-$_tide_pwd_len) $fake_tide_prompt_icon_connection
33
+ echo -ns "$right[1]"\n"$left[2] "
34
+ else
35
+ math $fake_columns+5-(string length --visible "$left[1]$right[1]") -$fake_tide_prompt_min_cols | read -lx dist_btwn_sides
36
+ string replace @PWD@ (_fake_tide_pwd) "$right[1]" "$left[1] "
37
+ end
38
+ end
39
+
40
+ function _fake_tide_item_pwd
41
+ _fake_tide_print_item pwd @PWD@
42
+ end
@@ -0,0 +1,11 @@
1
+ function _fake_tide_pwd
2
+ set -l out (
3
+ set_color $fake_tide_pwd_color_dirs
4
+ echo -ns $fake_tide_pwd_icon' ' '~/'
5
+ set_color -o $fake_tide_pwd_color_anchors
6
+ echo -ns src
7
+ set_color normal -b $fake_tide_pwd_bg_color
8
+ )
9
+ set -g _tide_pwd_len (string length --visible $out)
10
+ echo -ns $out
11
+ end
@@ -0,0 +1,41 @@
1
+ tide_aws_icon  # Actual aws glyph is harder to see
2
+ tide_bun_icon 󰳓
3
+ tide_character_icon ❯
4
+ tide_character_vi_icon_default ❮
5
+ tide_character_vi_icon_replace ▶
6
+ tide_character_vi_icon_visual V
7
+ tide_cmd_duration_icon
8
+ tide_crystal_icon 
9
+ tide_direnv_icon ▼
10
+ tide_distrobox_icon 󰆧
11
+ tide_docker_icon 
12
+ tide_elixir_icon 
13
+ tide_gcloud_icon 󰊭 # Actual google cloud glyph is harder to see
14
+ tide_git_icon
15
+ tide_go_icon 
16
+ tide_java_icon 
17
+ tide_jobs_icon 
18
+ tide_kubectl_icon 󱃾
19
+ tide_nix_shell_icon 
20
+ tide_node_icon  # Actual nodejs glyph is harder to see
21
+ tide_os_icon $os_branding_icon
22
+ tide_php_icon 
23
+ tide_private_mode_icon 󰗹
24
+ tide_prompt_icon_connection ' '
25
+ tide_pulumi_icon 
26
+ tide_pwd_icon
27
+ tide_pwd_icon_home
28
+ tide_pwd_icon_unwritable 
29
+ tide_python_icon 󰌠
30
+ tide_ruby_icon 
31
+ tide_rustc_icon 
32
+ tide_shlvl_icon 
33
+ tide_status_icon ✔
34
+ tide_status_icon_failure ✘
35
+ tide_terraform_icon 󱁢
36
+ tide_toolbox_icon 
37
+ tide_vi_mode_icon_default D
38
+ tide_vi_mode_icon_insert I
39
+ tide_vi_mode_icon_replace R
40
+ tide_vi_mode_icon_visual V
41
+ tide_zig_icon 
@@ -0,0 +1,28 @@
1
+ function tide --description 'Manage your Tide prompt'
2
+ argparse --stop-nonopt v/version h/help -- $argv
3
+
4
+ if set -q _flag_version
5
+ echo 'tide, version 6.2.0'
6
+ else if set -q _flag_help
7
+ _tide_help
8
+ else if functions --query _tide_sub_$argv[1]
9
+ _tide_sub_$argv[1] $argv[2..]
10
+ else
11
+ _tide_help
12
+ return 1
13
+ end
14
+ end
15
+
16
+ function _tide_help
17
+ printf %s\n \
18
+ 'Usage: tide [options] subcommand [options]' \
19
+ '' \
20
+ 'Options:' \
21
+ ' -v or --version print tide version number' \
22
+ ' -h or --help print this help message' \
23
+ '' \
24
+ 'Subcommands:' \
25
+ ' configure run interactive configuration wizard' \
26
+ ' reload reload tide configuration' \
27
+ ' bug-report print info for use in bug reports'
28
+ end
@@ -30,7 +30,3 @@ if (Test-Path $bunBin) {
30
30
  $env:PATH = "$bunBin;$env:PATH"
31
31
  }
32
32
 
33
- # --- Greeting (fastfetch) ---
34
- if (Get-Command fastfetch -ErrorAction SilentlyContinue) {
35
- fastfetch
36
- }
@@ -23,7 +23,7 @@ function Switch-PromptPalette {
23
23
  }
24
24
 
25
25
  # Persist selection
26
- $configDir = Join-Path $env:USERPROFILE '.config\dotfiles'
26
+ $configDir = Join-Path $env:USERPROFILE '.config\heyitsiveen\dotfiles\oh-my-posh'
27
27
  if (-not (Test-Path $configDir)) {
28
28
  New-Item -ItemType Directory -Path $configDir -Force | Out-Null
29
29
  }
@@ -2,13 +2,13 @@
2
2
  # Prompt — oh-my-posh initialization
3
3
  # =============================================================================
4
4
  # Converted from: dotfiles-macos/.config/fish/conf.d/70-tide.fish
5
- # Reads the active palette from ~/.config/dotfiles/prompt-theme.txt
5
+ # Reads the active palette from ~/.config/heyitsiveen/dotfiles/prompt-theme.txt
6
6
  # Valid values: solarized-dark (default), vercel, vesper
7
7
 
8
8
  if (-not (Get-Command oh-my-posh -ErrorAction SilentlyContinue)) { return }
9
9
 
10
10
  # Read persisted theme preference (defaults to solarized-dark)
11
- $themeConfigDir = Join-Path $env:USERPROFILE '.config\dotfiles'
11
+ $themeConfigDir = Join-Path $env:USERPROFILE '.config\heyitsiveen\dotfiles\oh-my-posh'
12
12
  $themeConfigFile = Join-Path $themeConfigDir 'prompt-theme.txt'
13
13
  $validThemes = @('solarized-dark', 'vercel', 'vesper')
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyitsiveen/dotfiles",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Interactive CLI to set up dotfiles for macOS and Windows 11",
5
5
  "type": "module",
6
6
  "bin": {