@heyitsiveen/dotfiles 1.0.0
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.
- package/LICENSE +21 -0
- package/README.md +176 -0
- package/dist/index.mjs +1445 -0
- package/dotfiles/macos/.claude/CLAUDE.md +13 -0
- package/dotfiles/macos/.claude/settings.json +38 -0
- package/dotfiles/macos/.claude.json +32 -0
- package/dotfiles/macos/.config/bat/config +27 -0
- package/dotfiles/macos/.config/bat/themes/Vercel.tmTheme +308 -0
- package/dotfiles/macos/.config/bat/themes/Vesper.tmTheme +357 -0
- package/dotfiles/macos/.config/btop/btop.conf +272 -0
- package/dotfiles/macos/.config/btop/themes/Solarized_Dark.theme +89 -0
- package/dotfiles/macos/.config/btop/themes/Vercel.theme +89 -0
- package/dotfiles/macos/.config/btop/themes/Vesper.theme +89 -0
- package/dotfiles/macos/.config/fish/conf.d/00-platform.fish +19 -0
- package/dotfiles/macos/.config/fish/conf.d/10-homebrew.fish +33 -0
- package/dotfiles/macos/.config/fish/conf.d/20-environment.fish +12 -0
- package/dotfiles/macos/.config/fish/conf.d/30-aliases.fish +52 -0
- package/dotfiles/macos/.config/fish/conf.d/40-fzf.fish +120 -0
- package/dotfiles/macos/.config/fish/conf.d/50-tools.fish +51 -0
- package/dotfiles/macos/.config/fish/conf.d/60-tmux.fish +19 -0
- package/dotfiles/macos/.config/fish/conf.d/70-tide.fish +31 -0
- package/dotfiles/macos/.config/fish/config.fish +30 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_heyitsiveen.fish +101 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_vercel.fish +94 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_vesper.fish +100 -0
- package/dotfiles/macos/.config/fish/functions/backup.fish +43 -0
- package/dotfiles/macos/.config/fish/functions/fish_greeting.fish +5 -0
- package/dotfiles/macos/.config/fish/functions/reload-fish.fish +4 -0
- package/dotfiles/macos/.config/fish/functions/tide_palette.fish +21 -0
- package/dotfiles/macos/.config/ghostty/config +46 -0
- package/dotfiles/macos/.config/nvim/.neoconf.json +15 -0
- package/dotfiles/macos/.config/nvim/init.lua +2 -0
- package/dotfiles/macos/.config/nvim/lazy-lock.json +42 -0
- package/dotfiles/macos/.config/nvim/lazyvim.json +11 -0
- package/dotfiles/macos/.config/nvim/lua/config/autocmds.lua +8 -0
- package/dotfiles/macos/.config/nvim/lua/config/keymaps.lua +21 -0
- package/dotfiles/macos/.config/nvim/lua/config/lazy.lua +72 -0
- package/dotfiles/macos/.config/nvim/lua/config/options.lua +13 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/colorscheme.lua +12 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/editor.lua +366 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/example.lua +197 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/mason.lua +11 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/oxc.lua +64 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/ui.lua +123 -0
- package/dotfiles/macos/.config/nvim/stylua.toml +3 -0
- package/dotfiles/macos/.config/ripgrep/config +9 -0
- package/dotfiles/macos/.config/tmux/STATUSBAR REFERENCE.md +1183 -0
- package/dotfiles/macos/.config/tmux/keybinds.conf +124 -0
- package/dotfiles/macos/.config/tmux/notifications.conf +39 -0
- package/dotfiles/macos/.config/tmux/pane.conf +33 -0
- package/dotfiles/macos/.config/tmux/popup-window.conf +27 -0
- package/dotfiles/macos/.config/tmux/statusbar.conf +281 -0
- package/dotfiles/macos/.config/tmux/tmux.conf +94 -0
- package/dotfiles/macos/.config/wezterm/wezterm.lua +143 -0
- package/dotfiles/windows/.claude/CLAUDE.md +13 -0
- package/dotfiles/windows/.claude/settings.json +38 -0
- package/dotfiles/windows/.claude.json +32 -0
- package/dotfiles/windows/.config/bat/config +27 -0
- package/dotfiles/windows/.config/bat/themes/Vercel.tmTheme +308 -0
- package/dotfiles/windows/.config/bat/themes/Vesper.tmTheme +357 -0
- package/dotfiles/windows/.config/btop/btop.conf +251 -0
- package/dotfiles/windows/.config/btop/themes/Solarized_Dark.theme +89 -0
- package/dotfiles/windows/.config/btop/themes/Vercel.theme +89 -0
- package/dotfiles/windows/.config/btop/themes/Vesper.theme +89 -0
- package/dotfiles/windows/.config/nvim/.neoconf.json +15 -0
- package/dotfiles/windows/.config/nvim/init.lua +2 -0
- package/dotfiles/windows/.config/nvim/lazy-lock.json +42 -0
- package/dotfiles/windows/.config/nvim/lazyvim.json +11 -0
- package/dotfiles/windows/.config/nvim/lua/config/autocmds.lua +8 -0
- package/dotfiles/windows/.config/nvim/lua/config/keymaps.lua +21 -0
- package/dotfiles/windows/.config/nvim/lua/config/lazy.lua +72 -0
- package/dotfiles/windows/.config/nvim/lua/config/options.lua +13 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/colorscheme.lua +12 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/editor.lua +366 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/example.lua +197 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/mason.lua +11 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/oxc.lua +64 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/ui.lua +123 -0
- package/dotfiles/windows/.config/nvim/stylua.toml +3 -0
- package/dotfiles/windows/.config/omp-themes/solarized-dark.omp.toml +197 -0
- package/dotfiles/windows/.config/omp-themes/vercel.omp.toml +197 -0
- package/dotfiles/windows/.config/omp-themes/vesper.omp.toml +197 -0
- package/dotfiles/windows/.config/ripgrep/config +9 -0
- package/dotfiles/windows/.config/wezterm/wezterm.lua +88 -0
- package/dotfiles/windows/powershell/Profile.ps1 +36 -0
- package/dotfiles/windows/powershell/functions/Switch-PromptPalette.ps1 +37 -0
- package/dotfiles/windows/powershell/functions/backup.ps1 +39 -0
- package/dotfiles/windows/powershell/functions/reload-shell.ps1 +8 -0
- package/dotfiles/windows/powershell/modules/aliases.ps1 +44 -0
- package/dotfiles/windows/powershell/modules/environment.ps1 +13 -0
- package/dotfiles/windows/powershell/modules/fzf.ps1 +82 -0
- package/dotfiles/windows/powershell/modules/prompt.ps1 +25 -0
- package/dotfiles/windows/powershell/modules/tools.ps1 +52 -0
- package/package.json +72 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
#Bashtop solarized theme
|
|
2
|
+
#by aristocratos
|
|
3
|
+
|
|
4
|
+
# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255"
|
|
5
|
+
# example for white: "#FFFFFF", "#ff" or "255 255 255".
|
|
6
|
+
|
|
7
|
+
# All graphs and meters can be gradients
|
|
8
|
+
# For single color graphs leave "mid" and "end" variable empty.
|
|
9
|
+
# Use "start" and "end" variables for two color gradient
|
|
10
|
+
# Use "start", "mid" and "end" for three color gradient
|
|
11
|
+
|
|
12
|
+
# Main background, empty for terminal default, need to be empty if you want transparent background
|
|
13
|
+
theme[main_bg]="#002b36"
|
|
14
|
+
|
|
15
|
+
# Main text color
|
|
16
|
+
theme[main_fg]="#eee8d5"
|
|
17
|
+
|
|
18
|
+
# Title color for boxes
|
|
19
|
+
theme[title]="#fdf6e3"
|
|
20
|
+
|
|
21
|
+
# Highlight color for keyboard shortcuts
|
|
22
|
+
theme[hi_fg]="#b58900"
|
|
23
|
+
|
|
24
|
+
# Background color of selected items
|
|
25
|
+
theme[selected_bg]="#073642"
|
|
26
|
+
|
|
27
|
+
# Foreground color of selected items
|
|
28
|
+
theme[selected_fg]="#d6a200"
|
|
29
|
+
|
|
30
|
+
# Color of inactive/disabled text
|
|
31
|
+
theme[inactive_fg]="#073642"
|
|
32
|
+
|
|
33
|
+
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
|
34
|
+
theme[proc_misc]="#bad600"
|
|
35
|
+
|
|
36
|
+
# Cpu box outline color
|
|
37
|
+
theme[cpu_box]="#586e75"
|
|
38
|
+
|
|
39
|
+
# Memory/disks box outline color
|
|
40
|
+
theme[mem_box]="#586e75"
|
|
41
|
+
|
|
42
|
+
# Net up/down box outline color
|
|
43
|
+
theme[net_box]="#586e75"
|
|
44
|
+
|
|
45
|
+
# Processes box outline color
|
|
46
|
+
theme[proc_box]="#586e75"
|
|
47
|
+
|
|
48
|
+
# Box divider line and small boxes line color
|
|
49
|
+
theme[div_line]="#586e75"
|
|
50
|
+
|
|
51
|
+
# Temperature graph colors
|
|
52
|
+
theme[temp_start]="#268bd2"
|
|
53
|
+
theme[temp_mid]="#ccb5f7"
|
|
54
|
+
theme[temp_end]="#fc5378"
|
|
55
|
+
|
|
56
|
+
# CPU graph colors
|
|
57
|
+
theme[cpu_start]="#adc700"
|
|
58
|
+
theme[cpu_mid]="#d6a200"
|
|
59
|
+
theme[cpu_end]="#e65317"
|
|
60
|
+
|
|
61
|
+
# Mem/Disk free meter
|
|
62
|
+
theme[free_start]="#4e5900"
|
|
63
|
+
theme[free_mid]=""
|
|
64
|
+
theme[free_end]="#bad600"
|
|
65
|
+
|
|
66
|
+
# Mem/Disk cached meter
|
|
67
|
+
theme[cached_start]="#114061"
|
|
68
|
+
theme[cached_mid]=""
|
|
69
|
+
theme[cached_end]="#268bd2"
|
|
70
|
+
|
|
71
|
+
# Mem/Disk available meter
|
|
72
|
+
theme[available_start]="#705500"
|
|
73
|
+
theme[available_mid]=""
|
|
74
|
+
theme[available_end]="#edb400"
|
|
75
|
+
|
|
76
|
+
# Mem/Disk used meter
|
|
77
|
+
theme[used_start]="#6e1718"
|
|
78
|
+
theme[used_mid]=""
|
|
79
|
+
theme[used_end]="#e02f30"
|
|
80
|
+
|
|
81
|
+
# Download graph colors
|
|
82
|
+
theme[download_start]="#3d4070"
|
|
83
|
+
theme[download_mid]="#6c71c4"
|
|
84
|
+
theme[download_end]="#a3a8f7"
|
|
85
|
+
|
|
86
|
+
# Upload graph colors
|
|
87
|
+
theme[upload_start]="#701c45"
|
|
88
|
+
theme[upload_mid]="#d33682"
|
|
89
|
+
theme[upload_end]="#f56caf"
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Main background, empty for terminal default, need to be empty if you want transparent background
|
|
2
|
+
theme[main_bg]="#00"
|
|
3
|
+
|
|
4
|
+
# Main text color
|
|
5
|
+
theme[main_fg]="#FAFAFA"
|
|
6
|
+
|
|
7
|
+
# Title color for boxes
|
|
8
|
+
theme[title]="#FAFAFA"
|
|
9
|
+
|
|
10
|
+
# Highlight color for keyboard shortcuts
|
|
11
|
+
theme[hi_fg]="#005BE7"
|
|
12
|
+
|
|
13
|
+
# Background color of selected item in processes box
|
|
14
|
+
theme[selected_bg]="#005BE7"
|
|
15
|
+
|
|
16
|
+
# Foreground color of selected item in processes box
|
|
17
|
+
theme[selected_fg]="#FAFAFA"
|
|
18
|
+
|
|
19
|
+
# Color of inactive/disabled text
|
|
20
|
+
theme[inactive_fg]="#A8A8A8"
|
|
21
|
+
|
|
22
|
+
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
|
|
23
|
+
theme[graph_text]="#FAFAFA"
|
|
24
|
+
|
|
25
|
+
# Background color of the percentage meters
|
|
26
|
+
theme[meter_bg]="#171717"
|
|
27
|
+
|
|
28
|
+
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
|
29
|
+
theme[proc_misc]="#00AC96"
|
|
30
|
+
|
|
31
|
+
# Cpu box outline color
|
|
32
|
+
theme[cpu_box]="#006AFF"
|
|
33
|
+
|
|
34
|
+
# Memory/disks box outline color
|
|
35
|
+
theme[mem_box]="#29A948"
|
|
36
|
+
|
|
37
|
+
# Net up/down box outline color
|
|
38
|
+
theme[net_box]="#49AEFF"
|
|
39
|
+
|
|
40
|
+
# Processes box outline color
|
|
41
|
+
theme[proc_box]="#F32882"
|
|
42
|
+
|
|
43
|
+
# Box divider line and small boxes line color
|
|
44
|
+
theme[div_line]="#171717"
|
|
45
|
+
|
|
46
|
+
# Temperature graph colors
|
|
47
|
+
theme[temp_start]="#29A948"
|
|
48
|
+
theme[temp_mid]="#FFAE00"
|
|
49
|
+
theme[temp_end]="#FC0036"
|
|
50
|
+
|
|
51
|
+
# CPU graph colors
|
|
52
|
+
theme[cpu_start]="#00E4C4"
|
|
53
|
+
theme[cpu_mid]="#49AEFF"
|
|
54
|
+
theme[cpu_end]="#005BE7"
|
|
55
|
+
|
|
56
|
+
# Mem/Disk free meter
|
|
57
|
+
theme[free_start]="#29A948"
|
|
58
|
+
theme[free_mid]="#00AC96"
|
|
59
|
+
theme[free_end]="#00E4C4"
|
|
60
|
+
|
|
61
|
+
# Mem/Disk cached meter
|
|
62
|
+
theme[cached_start]="#29A948"
|
|
63
|
+
theme[cached_mid]="#00AC96"
|
|
64
|
+
theme[cached_end]="#00E4C4"
|
|
65
|
+
|
|
66
|
+
# Mem/Disk available meter
|
|
67
|
+
theme[available_start]="#29A948"
|
|
68
|
+
theme[available_mid]="#00AC96"
|
|
69
|
+
theme[available_end]="#00E4C4"
|
|
70
|
+
|
|
71
|
+
# Mem/Disk used meter
|
|
72
|
+
theme[used_start]="#29A948"
|
|
73
|
+
theme[used_mid]="#FFAE00"
|
|
74
|
+
theme[used_end]="#FC0036"
|
|
75
|
+
|
|
76
|
+
# Download graph colors
|
|
77
|
+
theme[download_start]="#49AEFF"
|
|
78
|
+
theme[download_mid]="#006AFF"
|
|
79
|
+
theme[download_end]="#005BE7"
|
|
80
|
+
|
|
81
|
+
# Upload graph colors
|
|
82
|
+
theme[upload_start]="#00E4C4"
|
|
83
|
+
theme[upload_mid]="#00AC96"
|
|
84
|
+
theme[upload_end]="#29A948"
|
|
85
|
+
|
|
86
|
+
# Process box color gradient for threads, mem and cpu usage
|
|
87
|
+
theme[process_start]="#F97EA8"
|
|
88
|
+
theme[process_mid]="#F32882"
|
|
89
|
+
theme[process_end]="#FFAE00"
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Main background, empty for terminal default, need to be empty if you want transparent background
|
|
2
|
+
theme[main_bg]="#00"
|
|
3
|
+
|
|
4
|
+
# Main text color
|
|
5
|
+
theme[main_fg]="#FFFFFF"
|
|
6
|
+
|
|
7
|
+
# Title color for boxes
|
|
8
|
+
theme[title]="#FFFFFF"
|
|
9
|
+
|
|
10
|
+
# Highlight color for keyboard shortcuts
|
|
11
|
+
theme[hi_fg]="#FFC799"
|
|
12
|
+
|
|
13
|
+
# Background color of selected item in processes box
|
|
14
|
+
theme[selected_bg]="#232323"
|
|
15
|
+
|
|
16
|
+
# Foreground color of selected item in processes box
|
|
17
|
+
theme[selected_fg]="#FFC799"
|
|
18
|
+
|
|
19
|
+
# Color of inactive/disabled text
|
|
20
|
+
theme[inactive_fg]="#A0A0A0"
|
|
21
|
+
|
|
22
|
+
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
|
|
23
|
+
theme[graph_text]="#FFFFFF"
|
|
24
|
+
|
|
25
|
+
# Background color of the percentage meters
|
|
26
|
+
theme[meter_bg]="#161616"
|
|
27
|
+
|
|
28
|
+
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
|
29
|
+
theme[proc_misc]="#A0A0A0"
|
|
30
|
+
|
|
31
|
+
# Cpu box outline color
|
|
32
|
+
theme[cpu_box]="#FFC799"
|
|
33
|
+
|
|
34
|
+
# Memory/disks box outline color
|
|
35
|
+
theme[mem_box]="#99FFE4"
|
|
36
|
+
|
|
37
|
+
# Net up/down box outline color
|
|
38
|
+
theme[net_box]="#FFCFA8"
|
|
39
|
+
|
|
40
|
+
# Processes box outline color
|
|
41
|
+
theme[proc_box]="#FF8080"
|
|
42
|
+
|
|
43
|
+
# Box divider line and small boxes line color
|
|
44
|
+
theme[div_line]="#282828"
|
|
45
|
+
|
|
46
|
+
# Temperature graph colors
|
|
47
|
+
theme[temp_start]="#99FFE4"
|
|
48
|
+
theme[temp_mid]="#FFC799"
|
|
49
|
+
theme[temp_end]="#FF8080"
|
|
50
|
+
|
|
51
|
+
# CPU graph colors
|
|
52
|
+
theme[cpu_start]="#7E7E7E"
|
|
53
|
+
theme[cpu_mid]="#FFCFA8"
|
|
54
|
+
theme[cpu_end]="#FFC799"
|
|
55
|
+
|
|
56
|
+
# Mem/Disk free meter
|
|
57
|
+
theme[free_start]="#7E7E7E"
|
|
58
|
+
theme[free_mid]="#99FFE4"
|
|
59
|
+
theme[free_end]="#FFC799"
|
|
60
|
+
|
|
61
|
+
# Mem/Disk cached meter
|
|
62
|
+
theme[cached_start]="#7E7E7E"
|
|
63
|
+
theme[cached_mid]="#99FFE4"
|
|
64
|
+
theme[cached_end]="#FFC799"
|
|
65
|
+
|
|
66
|
+
# Mem/Disk available meter
|
|
67
|
+
theme[available_start]="#7E7E7E"
|
|
68
|
+
theme[available_mid]="#99FFE4"
|
|
69
|
+
theme[available_end]="#FFC799"
|
|
70
|
+
|
|
71
|
+
# Mem/Disk used meter
|
|
72
|
+
theme[used_start]="#99FFE4"
|
|
73
|
+
theme[used_mid]="#FFC799"
|
|
74
|
+
theme[used_end]="#FF8080"
|
|
75
|
+
|
|
76
|
+
# Download graph colors
|
|
77
|
+
theme[download_start]="#7E7E7E"
|
|
78
|
+
theme[download_mid]="#FFCFA8"
|
|
79
|
+
theme[download_end]="#FFC799"
|
|
80
|
+
|
|
81
|
+
# Upload graph colors
|
|
82
|
+
theme[upload_start]="#7E7E7E"
|
|
83
|
+
theme[upload_mid]="#99FFE4"
|
|
84
|
+
theme[upload_end]="#FFC799"
|
|
85
|
+
|
|
86
|
+
# Process box color gradient for threads, mem and cpu usage
|
|
87
|
+
theme[process_start]="#7E7E7E"
|
|
88
|
+
theme[process_mid]="#FFCFA8"
|
|
89
|
+
theme[process_end]="#FFC799"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# OS Detection for cross-platform compatibility
|
|
2
|
+
# Sets $OS_TYPE to: macos, linux, wsl, or unknown
|
|
3
|
+
|
|
4
|
+
switch (uname)
|
|
5
|
+
case Darwin
|
|
6
|
+
set -g OS_TYPE macos
|
|
7
|
+
case Linux
|
|
8
|
+
set -g OS_TYPE linux
|
|
9
|
+
# Check for WSL using both canonical env and kernel markers.
|
|
10
|
+
if set -q WSL_DISTRO_NAME
|
|
11
|
+
set -g OS_TYPE wsl
|
|
12
|
+
else if test -r /proc/version
|
|
13
|
+
if string match -q -r ".*microsoft.*" (string lower -- (cat /proc/version 2>/dev/null))
|
|
14
|
+
set -g OS_TYPE wsl
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
case '*'
|
|
18
|
+
set -g OS_TYPE unknown
|
|
19
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Cross-platform Homebrew detection and initialization.
|
|
2
|
+
# Uses $OS_TYPE from 00-platform.fish to prioritize platform-native paths.
|
|
3
|
+
|
|
4
|
+
set -l os_type unknown
|
|
5
|
+
if set -q OS_TYPE
|
|
6
|
+
set os_type $OS_TYPE
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
set -l brew_paths
|
|
10
|
+
switch $os_type
|
|
11
|
+
case macos
|
|
12
|
+
set brew_paths \
|
|
13
|
+
/opt/homebrew/bin/brew \
|
|
14
|
+
/usr/local/bin/brew \
|
|
15
|
+
/home/linuxbrew/.linuxbrew/bin/brew
|
|
16
|
+
case linux wsl
|
|
17
|
+
set brew_paths \
|
|
18
|
+
/home/linuxbrew/.linuxbrew/bin/brew \
|
|
19
|
+
/usr/local/bin/brew \
|
|
20
|
+
/opt/homebrew/bin/brew
|
|
21
|
+
case '*'
|
|
22
|
+
set brew_paths \
|
|
23
|
+
/opt/homebrew/bin/brew \
|
|
24
|
+
/usr/local/bin/brew \
|
|
25
|
+
/home/linuxbrew/.linuxbrew/bin/brew
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
for brew_path in $brew_paths
|
|
29
|
+
if test -x $brew_path
|
|
30
|
+
eval ($brew_path shellenv)
|
|
31
|
+
break
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Abbreviations and aliases
|
|
2
|
+
# Only set in interactive shells
|
|
3
|
+
|
|
4
|
+
if not status is-interactive
|
|
5
|
+
return
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
# --- Git Abbreviations ---
|
|
9
|
+
if type -q git
|
|
10
|
+
abbr -a g git
|
|
11
|
+
abbr -a gs 'git status'
|
|
12
|
+
abbr -a ga 'git add'
|
|
13
|
+
abbr -a gaa 'git add --all'
|
|
14
|
+
abbr -a gc 'git commit'
|
|
15
|
+
abbr -a gcm 'git commit -m'
|
|
16
|
+
abbr -a gp 'git push'
|
|
17
|
+
abbr -a gpl 'git pull'
|
|
18
|
+
abbr -a gd 'git diff'
|
|
19
|
+
abbr -a gds 'git diff --staged'
|
|
20
|
+
abbr -a gco 'git checkout'
|
|
21
|
+
abbr -a gb 'git branch'
|
|
22
|
+
abbr -a gl 'git log --oneline --graph'
|
|
23
|
+
abbr -a gst 'git stash'
|
|
24
|
+
abbr -a gstp 'git stash pop'
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# --- Lazygit ---
|
|
28
|
+
if type -q lazygit
|
|
29
|
+
abbr -a lg lazygit
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# --- Tmux Abbreviations ---
|
|
33
|
+
if type -q tmux
|
|
34
|
+
abbr -a ta 'tmux attach -t'
|
|
35
|
+
abbr -a tl 'tmux list-sessions'
|
|
36
|
+
abbr -a tn 'tmux new-session -s'
|
|
37
|
+
abbr -a tk 'tmux kill-session -t'
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# --- HTTPie Abbreviations ---
|
|
41
|
+
if type -q http
|
|
42
|
+
abbr -a hget 'http GET'
|
|
43
|
+
abbr -a hpost 'http POST'
|
|
44
|
+
abbr -a hput 'http PUT'
|
|
45
|
+
abbr -a hdel 'http DELETE'
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# --- Btop Abbreviations ---
|
|
49
|
+
if type -q btop
|
|
50
|
+
abbr -a top btop
|
|
51
|
+
abbr -a htop btop
|
|
52
|
+
end
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# FZF Configuration with Vercel, Vesper, Solarized Dark Theme
|
|
2
|
+
|
|
3
|
+
if not status is-interactive
|
|
4
|
+
return
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
if not type -q fzf
|
|
8
|
+
return
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Initialize fzf
|
|
12
|
+
fzf --fish | source
|
|
13
|
+
|
|
14
|
+
# ╔══════════════════════════════════════╗
|
|
15
|
+
# ║ VERCEL ║
|
|
16
|
+
# ╚══════════════════════════════════════╝
|
|
17
|
+
# - Background: #101010
|
|
18
|
+
# - Surface: #171717
|
|
19
|
+
# - Foreground: #FAFAFA
|
|
20
|
+
# - Muted: #A8A8A8
|
|
21
|
+
# - Blue: #005BE7 / #006AFF / #49AEFF
|
|
22
|
+
# - Pink: #F32882
|
|
23
|
+
# - Teal: #00AC96 / #00E4C4
|
|
24
|
+
|
|
25
|
+
# set -gx FZF_DEFAULT_OPTS "\
|
|
26
|
+
# --style=full:rounded \
|
|
27
|
+
# --color=bg:-1,list-bg:-1,input-bg:-1,preview-bg:-1,header-bg:-1 \
|
|
28
|
+
# --color=fg:#A8A8A8,current-fg:#FEFFFF,query:#FEFFFF,ghost:#A8A8A8 \
|
|
29
|
+
# --color=current-bg:-1,selected-bg:-1 \
|
|
30
|
+
# --color=hl:#49AEFF,current-hl:#00E4C4,selected-hl:#00E4C4 \
|
|
31
|
+
# --color=info:#00AC96,header:#A8A8A8,prompt:#006AFF,pointer:#005BE7 \
|
|
32
|
+
# --color=marker:#F32882,spinner:#F32882,gutter:-1 \
|
|
33
|
+
# --color=border:#171717,list-border:#171717,input-border:#171717,preview-border:#171717,header-border:#171717 \
|
|
34
|
+
# --color=separator:#171717,label:#A8A8A8,list-label:#A8A8A8,input-label:#A8A8A8,preview-label:#A8A8A8,header-label:#A8A8A8 \
|
|
35
|
+
# --height 50% \
|
|
36
|
+
# --layout reverse \
|
|
37
|
+
# --info inline \
|
|
38
|
+
# --marker '>' \
|
|
39
|
+
# --pointer '>' \
|
|
40
|
+
# --prompt '> ' \
|
|
41
|
+
# --bind 'ctrl-/:toggle-preview'"
|
|
42
|
+
|
|
43
|
+
# ╔══════════════════════════════════════╗
|
|
44
|
+
# ║ VESPER ║
|
|
45
|
+
# ╚══════════════════════════════════════╝
|
|
46
|
+
# Based on the official Vesper palette:
|
|
47
|
+
# - Background: #101010
|
|
48
|
+
# - Surface: #161616 / #232323
|
|
49
|
+
# - Foreground: #FFFFFF
|
|
50
|
+
# - Muted: #A0A0A0 / #7E7E7E
|
|
51
|
+
# - Orange: #FFC799 / #FFCFA8
|
|
52
|
+
# - Peppermint: #99FFE4
|
|
53
|
+
# - Error: #FF8080
|
|
54
|
+
# - Selection: #232323
|
|
55
|
+
# - Border: #282828
|
|
56
|
+
|
|
57
|
+
# set -gx FZF_DEFAULT_OPTS "\
|
|
58
|
+
# --style=full:rounded \
|
|
59
|
+
# --color=bg:-1,list-bg:-1,input-bg:-1,preview-bg:-1,header-bg:-1 \
|
|
60
|
+
# --color=fg:#A0A0A0,current-fg:#FFFFFF,query:#FFFFFF,ghost:#7E7E7E \
|
|
61
|
+
# --color=current-bg:-1,selected-bg:-1 \
|
|
62
|
+
# --color=hl:#FFC799,current-hl:#FFC799,selected-hl:#FFC799 \
|
|
63
|
+
# --color=info:#A0A0A0,header:#7E7E7E,prompt:#FFC799,pointer:#FFC799 \
|
|
64
|
+
# --color=marker:#FFC799,spinner:#FFC799,gutter:-1 \
|
|
65
|
+
# --color=border:#282828,list-border:#282828,input-border:#282828,preview-border:#282828,header-border:#282828 \
|
|
66
|
+
# --color=separator:#282828,label:#7E7E7E,list-label:#7E7E7E,input-label:#7E7E7E,preview-label:#7E7E7E,header-label:#7E7E7E \
|
|
67
|
+
# --height 50% \
|
|
68
|
+
# --layout reverse \
|
|
69
|
+
# --info inline \
|
|
70
|
+
# --marker '>' \
|
|
71
|
+
# --pointer '>' \
|
|
72
|
+
# --prompt '> ' \
|
|
73
|
+
# --bind 'ctrl-/:toggle-preview'"
|
|
74
|
+
|
|
75
|
+
# ╔══════════════════════════════════════╗
|
|
76
|
+
# ║ SOLARIZED DARK ║
|
|
77
|
+
# ╚══════════════════════════════════════╝
|
|
78
|
+
# Based on the canonical Solarized Dark palette:
|
|
79
|
+
# - Foreground: #839496
|
|
80
|
+
# - Muted: #586e75
|
|
81
|
+
# - Yellow: #B58900
|
|
82
|
+
# - Orange: #CB4B16
|
|
83
|
+
# - Blue: #268BD2
|
|
84
|
+
|
|
85
|
+
set -gx FZF_DEFAULT_OPTS "\
|
|
86
|
+
--style=full:rounded \
|
|
87
|
+
--color=bg:-1,list-bg:-1,input-bg:-1,preview-bg:-1,header-bg:-1 \
|
|
88
|
+
--color=fg:#839496,current-fg:#93A1A1,query:#93A1A1,ghost:#586E75 \
|
|
89
|
+
--color=current-bg:-1,selected-bg:-1 \
|
|
90
|
+
--color=hl:#B58900,current-hl:#CB4B16,selected-hl:#CB4B16 \
|
|
91
|
+
--color=info:#268BD2,header:#586E75,prompt:#B58900,pointer:#B58900 \
|
|
92
|
+
--color=marker:#B58900,spinner:#B58900,gutter:-1 \
|
|
93
|
+
--color=border:#586E75,list-border:#586E75,input-border:#586E75,preview-border:#586E75,header-border:#586E75 \
|
|
94
|
+
--color=separator:#586E75,label:#586E75,list-label:#586E75,input-label:#586E75,preview-label:#586E75,header-label:#586E75 \
|
|
95
|
+
--height 50% \
|
|
96
|
+
--layout reverse \
|
|
97
|
+
--info inline \
|
|
98
|
+
--marker '>' \
|
|
99
|
+
--pointer '>' \
|
|
100
|
+
--prompt '> ' \
|
|
101
|
+
--bind 'ctrl-/:toggle-preview'"
|
|
102
|
+
|
|
103
|
+
# --- fd Integration (if available) ---
|
|
104
|
+
if type -q fd
|
|
105
|
+
set -gx FZF_DEFAULT_COMMAND 'fd --type file --strip-cwd-prefix --hidden --follow --exclude .git'
|
|
106
|
+
set -gx FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND"
|
|
107
|
+
set -gx FZF_ALT_C_COMMAND 'fd --type dir --strip-cwd-prefix --hidden --follow --exclude .git'
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# --- Preview with bat ---
|
|
111
|
+
if type -q bat
|
|
112
|
+
set -gx FZF_CTRL_T_OPTS "--preview 'bat --style=numbers --color=always --line-range :300 {}'"
|
|
113
|
+
else if type -q batcat
|
|
114
|
+
set -gx FZF_CTRL_T_OPTS "--preview 'batcat --style=numbers --color=always --line-range :300 {}'"
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# --- ALT-C preview with eza ---
|
|
118
|
+
if type -q eza
|
|
119
|
+
set -gx FZF_ALT_C_OPTS "--preview 'eza --tree --level=2 --icons --color=always {}'"
|
|
120
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Modern CLI tool integrations
|
|
2
|
+
|
|
3
|
+
if not status is-interactive
|
|
4
|
+
return
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
# --- Bat (cat replacement) ---
|
|
8
|
+
if type -q bat
|
|
9
|
+
alias cat 'bat --paging=never'
|
|
10
|
+
# set -gx BAT_THEME "Vercel"
|
|
11
|
+
# set -gx BAT_THEME "Vesper"
|
|
12
|
+
set -gx BAT_THEME "Solarized (dark)"
|
|
13
|
+
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
|
14
|
+
else if type -q batcat
|
|
15
|
+
# Debian/Ubuntu uses batcat
|
|
16
|
+
alias cat 'batcat --paging=never'
|
|
17
|
+
alias bat batcat
|
|
18
|
+
# set -gx BAT_THEME "Vercel"
|
|
19
|
+
# set -gx BAT_THEME "Vesper"
|
|
20
|
+
set -gx BAT_THEME "Solarized (dark)"
|
|
21
|
+
set -gx MANPAGER "sh -c 'col -bx | batcat -l man -p'"
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# --- Eza (ls replacement) ---
|
|
25
|
+
if type -q eza
|
|
26
|
+
alias ls 'eza --icons --group-directories-first'
|
|
27
|
+
alias ll 'eza -l --icons --git --header --group-directories-first'
|
|
28
|
+
alias la 'eza -la --icons --git --header --group-directories-first'
|
|
29
|
+
alias lt 'eza --tree --level=2 --icons'
|
|
30
|
+
alias lta 'eza --tree --level=2 --icons -a'
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# --- Zoxide (smarter cd) ---
|
|
34
|
+
if type -q zoxide
|
|
35
|
+
zoxide init fish | source
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# --- Ripgrep ---
|
|
39
|
+
if type -q rg
|
|
40
|
+
set -l rg_config "$HOME/.config/ripgrep/config"
|
|
41
|
+
if test -f "$rg_config"
|
|
42
|
+
set -gx RIPGREP_CONFIG_PATH "$rg_config"
|
|
43
|
+
else
|
|
44
|
+
set -e RIPGREP_CONFIG_PATH
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# --- Delta (git diff pager) ---
|
|
49
|
+
if type -q delta
|
|
50
|
+
set -gx GIT_PAGER delta
|
|
51
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Tmux Configuration - Auto-attach to 'main' session
|
|
2
|
+
|
|
3
|
+
if not status is-interactive
|
|
4
|
+
return
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
if not type -q tmux
|
|
8
|
+
return
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Auto-attach to tmux session 'main'
|
|
12
|
+
# Skip if already in tmux, in VS Code terminal, or SSH session
|
|
13
|
+
if not set -q TMUX
|
|
14
|
+
if not set -q VSCODE_INJECTION
|
|
15
|
+
if not set -q SSH_CONNECTION
|
|
16
|
+
exec tmux new-session -A -s main
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Tide Prompt Configuration
|
|
2
|
+
# Tide settings are managed via `tide configure`
|
|
3
|
+
# This file just ensures tide is available
|
|
4
|
+
|
|
5
|
+
if not status is-interactive
|
|
6
|
+
return
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
# Tide is managed by Fisher and configures itself
|
|
10
|
+
# Run `tide configure` to customize your prompt
|
|
11
|
+
# Settings are stored as universal variables and persist automatically
|
|
12
|
+
|
|
13
|
+
# Apply the configured palette on startup.
|
|
14
|
+
# Default to heyitsiveen on first load and recover from invalid saved values.
|
|
15
|
+
set -l tide_default_palette heyitsiveen
|
|
16
|
+
set -l tide_selected_palette $tide_default_palette
|
|
17
|
+
|
|
18
|
+
if set -q dotfiles_tide_palette
|
|
19
|
+
switch $dotfiles_tide_palette
|
|
20
|
+
case heyitsiveen vercel vesper
|
|
21
|
+
set tide_selected_palette $dotfiles_tide_palette
|
|
22
|
+
case '*'
|
|
23
|
+
set -U dotfiles_tide_palette $tide_default_palette
|
|
24
|
+
end
|
|
25
|
+
else
|
|
26
|
+
set -U dotfiles_tide_palette $tide_default_palette
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
if functions -q tide_palette
|
|
30
|
+
tide_palette $tide_selected_palette
|
|
31
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# ~/.config/fish/config.fish
|
|
2
|
+
# ============================================================
|
|
3
|
+
# FISH SHELL CONFIGURATION
|
|
4
|
+
# ============================================================
|
|
5
|
+
# Lean entry point - modular configs live in conf.d/
|
|
6
|
+
# Functions are auto-loaded from functions/
|
|
7
|
+
# ============================================================
|
|
8
|
+
|
|
9
|
+
# Interactive shell configurations
|
|
10
|
+
if status is-interactive
|
|
11
|
+
# Disable default greeting (custom greeting in functions/fish_greeting.fish)
|
|
12
|
+
set -g fish_greeting
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Nodejs
|
|
16
|
+
if type -q fnm
|
|
17
|
+
fnm env --use-on-cd | source
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
if not contains -- ~/.local/bin $PATH
|
|
21
|
+
set -gx PATH ~/.local/bin $PATH
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Bun
|
|
25
|
+
set --export BUN_INSTALL "$HOME/.bun"
|
|
26
|
+
if test -d "$BUN_INSTALL/bin"
|
|
27
|
+
if not contains -- "$BUN_INSTALL/bin" $PATH
|
|
28
|
+
set --export PATH $BUN_INSTALL/bin $PATH
|
|
29
|
+
end
|
|
30
|
+
end
|