move from stow to chezmoi
This commit is contained in:
32
private_dot_config/fish/config.fish
Normal file
32
private_dot_config/fish/config.fish
Normal file
@@ -0,0 +1,32 @@
|
||||
source "$HOME/.config/env"
|
||||
|
||||
if status is-interactive
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
alias la='ls --color=auto -plhA'
|
||||
alias grep='grep --color=auto'
|
||||
alias prusa-slicer='flatpak run com.prusa3d.PrusaSlicer'
|
||||
|
||||
export EDITOR=vim
|
||||
|
||||
# TODO: ssh-agent
|
||||
# TODO: rust
|
||||
|
||||
# fuzzy find
|
||||
export FZF_CTRL_T_OPTS="
|
||||
--walker-skip .git,node_modules,target,.var
|
||||
--preview 'bat -n --color=always {}'
|
||||
--bind 'ctrl-/:change-preview-window(down|hidden|)'"
|
||||
fzf --fish | source
|
||||
|
||||
# better cd
|
||||
zoxide init fish --cmd cd | source
|
||||
|
||||
# prompt
|
||||
oh-my-posh init fish --config "$HOME/.config/oh-my-posh.toml" | source
|
||||
|
||||
# desable auto seguestions
|
||||
export fish_autosuggestion_enabled=0
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user