comparison dot_config/private_fish/config.fish @ 1038:6ab26ddbf78d

feat: add fish shell
author Zeger Van de Vannet <zeger@vandevan.net>
date Fri, 26 Apr 2024 18:43:22 +0200
parents
children 979735a38885
comparison
equal deleted inserted replaced
1037:38b8060cdf24 1038:6ab26ddbf78d
1 set -x EDITOR hx
2 set -x HGEDITOR hx
3
4 set -x RIPGREP_CONFIG_PATH $HOME/.config/ripgrep/ripgreprc
5 set -x BAT_CONFIG_PATH $HOME/.config/bat/config
6
7 set -x PS_FORMAT 'pid,pgid,state,start_time,%cpu,command'
8
9 set -x PATH $HOME/.local/bin $HOME/bin $PATH
10
11 if test -e "$HOME/bin/mise"
12 $HOME/bin/mise activate fish | source
13 end
14
15 direnv hook fish | source
16
17 if status is-interactive
18 # Commands to run in interactive sessions can go here
19
20 # Select modified paths via fzf on alt+g
21 bind \eg fzf_hg_status_files
22 # Select output lines from last command
23 bind \er fzf_last_command_output
24
25 abbr hgst hg status
26 end