blob: c072cf0d44b1364bf4e74da3639ecdaf228e9cfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# ~/.config/fish/config.fish: DO NOT EDIT -- this file has been generated
status is-login; and begin
# Login shell initialisation
end
status is-interactive; and begin
# Abbreviations
abbr --add -- la 'eza -a'
abbr --add -- ll 'eza -l'
abbr --add -- lla 'eza -la'
abbr --add -- ls eza
abbr --add -- lt 'eza --tree'
# Aliases
alias eza 'eza --group-directories-first --header '\''--icons=always'\'''
# Interactive shell initialisation
fzf --fish | source
set fish_greeting
set hydro_color_pwd yellow
set hydro_color_prompt green
set hydro_color_git red
set hydro_cmd_duration_threshold 30000
any-nix-shell fish --info-right | source
fzf_configure_bindings --variables=\ev
zoxide init fish | source
if set -q KITTY_INSTALLATION_DIR
set --global KITTY_SHELL_INTEGRATION no-rc
source "$KITTY_INSTALLATION_DIR/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish"
set --prepend fish_complete_path "$KITTY_INSTALLATION_DIR/shell-integration/fish/vendor_completions.d"
end
# add completions generated by Home Manager to $fish_complete_path
begin
set -l joined (string join " " $fish_complete_path)
set -l prev_joined (string replace --regex "[^\s]*generated_completions.*" "" $joined)
set -l post_joined (string replace $prev_joined "" $joined)
set -l prev (string split " " (string trim $prev_joined))
set -l post (string split " " (string trim $post_joined))
set fish_complete_path $prev "/home/mino/.local/share/fish/home-manager/generated_completions" $post
end
set -gx GPG_TTY (tty)
gpg-connect-agent --quiet updatestartuptty /bye >/dev/null
direnv hook fish | source
end
|