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 # 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 alias p='cd "$HOME/projects/$(find $HOME/projects/ -maxdepth 3 -type d -name \'.git\' | sed -e "s|$HOME/projects/||" -e \'s|/\.git||\' | sort | uniq | fzf || exit 0)"' alias cdf='cd $(_cd_fzf)' alias dot=chezmoi alias codium="codium --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland" # prompt oh-my-posh init fish --config "$HOME/.config/oh-my-posh.toml" | source # desable auto seguestions export fish_autosuggestion_enabled=0 end