tangled
alpha
login
or
join now
kacaii.dev
/
dotfiles
0
fork
atom
๐ Backup for my config files
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
only source some files if interactive
kacaii.dev
1 month ago
d667ca15
8187a614
verified
This commit was signed with the committer's
known signature
.
kacaii.dev
SSH Key Fingerprint:
SHA256:n9v7QGNWHCUv1x/483hCtPUvTsVabU5PzC5CSJMUNtI=
+68
-62
3 changed files
expand all
collapse all
unified
split
.config
fish
config.fish
modules
abbr.fish
integrations.fish
+3
-3
.config/fish/config.fish
···
8
8
set -gx EDITOR nvim
9
9
set -gx XDG_CONFIG_HOME $HOME/.config
10
10
11
11
-
source "$XDG_CONFIG_HOME/fish/modules/path.fish"
12
12
-
source "$XDG_CONFIG_HOME/fish/modules/abbr.fish"
13
13
-
source "$XDG_CONFIG_HOME/fish/modules/integrations.fish"
11
11
+
source "$__fish_config_dir/modules/path.fish"
12
12
+
source "$__fish_config_dir/modules/abbr.fish"
13
13
+
source "$__fish_config_dir/modules/integrations.fish"
14
14
15
15
end
+48
-44
.config/fish/modules/abbr.fish
···
1
1
-
# Config files
2
2
-
abbr fcg $EDITOR $__fish_config_dir/config.fish
3
3
-
abbr jcg $EDITOR $XDG_CONFIG_HOME/jj/config.toml
4
4
-
abbr gcg $EDITOR $XDG_CONFIG_HOME/ghostty/config
1
1
+
if status is-interactive
2
2
+
#
3
3
+
# Config files
4
4
+
abbr fcg $EDITOR $__fish_config_dir/config.fish
5
5
+
abbr jcg $EDITOR $XDG_CONFIG_HOME/jj/config.toml
6
6
+
abbr gcg $EDITOR $XDG_CONFIG_HOME/ghostty/config
5
7
6
6
-
# Reload shell
7
7
-
abbr s "source $__fish_config_dir/config.fish"
8
8
+
# Reload shell
9
9
+
abbr s "source $__fish_config_dir/config.fish"
8
10
9
9
-
# Default
10
10
-
abbr c clear
11
11
-
abbr fcc fish_clipboard_copy
12
12
-
abbr ff fastfetch
13
13
-
abbr freeze "freeze --config user"
14
14
-
abbr v nvim
11
11
+
# Default
12
12
+
abbr c clear
13
13
+
abbr fcc fish_clipboard_copy
14
14
+
abbr ff fastfetch
15
15
+
abbr freeze "freeze --config user"
16
16
+
abbr v nvim
15
17
16
16
-
abbr man batman
17
17
-
abbr rg batgrep
18
18
-
abbr bat prettybat
18
18
+
abbr man batman
19
19
+
abbr rg batgrep
20
20
+
abbr bat prettybat
19
21
20
20
-
abbr ls "eza --icons always"
21
21
-
abbr ll "eza -la --icons always"
22
22
-
abbr tree "eza --tree"
22
22
+
abbr ls "eza --icons always"
23
23
+
abbr ll "eza -la --icons always"
24
24
+
abbr tree "eza --tree"
23
25
24
24
-
# ๓ฑ JJ
25
25
-
abbr jjc "jj commit -m"
26
26
-
abbr jjd "jj describe -m"
27
27
-
abbr jjn "jj new -m"
26
26
+
# ๓ฑ JJ
27
27
+
abbr jjc "jj commit -m"
28
28
+
abbr jjd "jj describe -m"
29
29
+
abbr jjn "jj new -m"
28
30
29
29
-
# ๎กง Poetry
30
30
-
abbr pea "poetry env activate | source"
31
31
-
abbr ped deactivate
32
32
-
abbr prs "poetry run start"
31
31
+
# ๎กง Poetry
32
32
+
abbr pea "poetry env activate | source"
33
33
+
abbr ped deactivate
34
34
+
abbr prs "poetry run start"
33
35
34
34
-
# ๏ Gleam
35
35
-
abbr gn "gleam new"
36
36
-
abbr gr "gleam run"
37
37
-
abbr gt "gleam test"
36
36
+
# ๏ Gleam
37
37
+
abbr gn "gleam new"
38
38
+
abbr gr "gleam run"
39
39
+
abbr gt "gleam test"
38
40
39
39
-
abbr gwr '\
40
40
-
watchexec --restart --verbose --wrap-process=session \
41
41
-
--stop-signal SIGTERM --exts gleam --debounce 500ms \
42
42
-
--watch src/ -- "clear; gleam run"'
41
41
+
abbr gwr '\
42
42
+
watchexec --restart --verbose --wrap-process=session \
43
43
+
--stop-signal SIGTERM --exts gleam --debounce 500ms \
44
44
+
--watch src/ -- "clear; gleam run"'
43
45
44
44
-
abbr gwt '\
45
45
-
watchexec --restart --verbose --wrap-process=session \
46
46
-
--stop-signal SIGTERM --exts gleam --debounce 500ms \
47
47
-
--watch test/ -- "clear; gleam test"'
46
46
+
abbr gwt '\
47
47
+
watchexec --restart --verbose --wrap-process=session \
48
48
+
--stop-signal SIGTERM --exts gleam --debounce 500ms \
49
49
+
--watch test/ -- "clear; gleam test"'
50
50
+
51
51
+
# ๎ฉ Zig
52
52
+
abbr zb "zig build"
53
53
+
abbr zbr "zig build run"
54
54
+
abbr zbw "zig build --watch -fincremental --prominent-compile-errors"
55
55
+
abbr zbt "zig build test --summary all"
56
56
+
abbr zbwin "zig build -Dtarget=x86_64-windows"
48
57
49
49
-
# ๎ฉ Zig
50
50
-
abbr zb "zig build"
51
51
-
abbr zbr "zig build run"
52
52
-
abbr zbw "zig build --watch -fincremental --prominent-compile-errors"
53
53
-
abbr zbt "zig build test --summary all"
54
54
-
abbr zbwin "zig build -Dtarget=x86_64-windows"
58
58
+
end
+17
-15
.config/fish/modules/integrations.fish
···
1
1
-
command -q direnv; and direnv hook fish | source
2
2
-
command -q jj; and set -g jj_config_file ( jj config path --user )
3
3
-
command -q keychain; and eval "$(keychain --quiet --eval github tangled)"
4
4
-
command -q zoxide; and zoxide init fish | source
5
5
-
command -q starship; and starship init fish | source
6
6
-
command -q batpipe; and eval (batpipe)
7
7
-
command -q batman; and batman --export-env | source
8
8
-
command -q rumdl; and rumdl completions | source
9
9
-
command -q fzf; and fzf --fish | source; and set -gx FZF_DEFAULT_OPTS "\
10
10
-
--color=bg+:#313244,spinner:#F5E0DC,hl:#F38BA8 \
11
11
-
--color=fg:#CDD6F4,header:#F38BA8,info:#CBA6F7,pointer:#F5E0DC \
12
12
-
--color=marker:#B4BEFE,fg+:#CDD6F4,prompt:#CBA6F7,hl+:#F38BA8 \
13
13
-
--color=selected-bg:#45475A \
14
14
-
--color=border:#6C7086,label:#CDD6F4 \
15
15
-
--preview='bat --color=always {}'"
1
1
+
if status is-interactive
2
2
+
3
3
+
command -q direnv; and direnv hook fish | source
4
4
+
command -q jj; and set -g jj_config_file ( jj config path --user )
5
5
+
command -q keychain; and eval "$(keychain --quiet --eval github tangled)"
6
6
+
command -q zoxide; and zoxide init fish | source
7
7
+
command -q starship; and starship init fish | source
8
8
+
command -q batman; and batman --export-env | source
9
9
+
command -q fzf; and fzf --fish | source; and set -gx FZF_DEFAULT_OPTS "\
10
10
+
--color=bg+:#313244,spinner:#F5E0DC,hl:#F38BA8 \
11
11
+
--color=fg:#CDD6F4,header:#F38BA8,info:#CBA6F7,pointer:#F5E0DC \
12
12
+
--color=marker:#B4BEFE,fg+:#CDD6F4,prompt:#CBA6F7,hl+:#F38BA8 \
13
13
+
--color=selected-bg:#45475A \
14
14
+
--color=border:#6C7086,label:#CDD6F4 \
15
15
+
--preview='bat --color=always {}'"
16
16
+
17
17
+
end