blob: ad642500c8b836db176d0bfc0344e3c2f962812a (
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
|
fish_add_path -p ~/.cargo/bin ~/.local/bin /usr/local/sbin /usr/local/bin /usr/bin
set -e TERMCAP
set -e MANPATH
set -U fish_greeting
set -Ux STARSHIP_CONFIG ~/.config/starship/starship.toml
pyenv init - | source
zoxide init fish | source
starship init fish | source
function starship_transient_prompt_func
set --local -x STARSHIP_CONFIG ~/.config/starship/transient.toml
starship module character
end
function xcd
set --local result (command xplr $argv)
[ -n "$result" ] && cd "$result"
end
if status is-interactive
alias ls='eza -w 80 --icons'
alias cd='z'
alias grep='grep --color=auto'
alias nv=nvim
fish_vi_key_bindings
enable_transience
end
|