33 lines
722 B
Fish
33 lines
722 B
Fish
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
|
|
|