30 lines
762 B
Fish
30 lines
762 B
Fish
if status is-interactive
|
|
# Commands to run in interactive sessions can go here
|
|
|
|
# Disable the welcome message
|
|
# https://fishshell.com/docs/current/cmds/fish_greeting.html
|
|
set -g fish_greeting
|
|
|
|
if test -f /home/linuxbrew/.linuxbrew/bin/brew
|
|
/home/linuxbrew/.linuxbrew/bin/brew shellenv | source
|
|
end
|
|
if test -f $(which atuin)
|
|
atuin init fish | source
|
|
end
|
|
|
|
# Override globals
|
|
set -gx EDITOR nvim
|
|
|
|
# Enable autoenv
|
|
source ~/.config/fish/functions/activate.fish
|
|
|
|
# Aliases
|
|
alias vim="nvim"
|
|
alias dc="podman compose"
|
|
alias lg="lazygit"
|
|
alias la="eza --long --header --git --group --time-style long-iso -a"
|
|
|
|
# Set Path
|
|
fish_add_path -p /home/tgrosinger/.dotfiles/bin/linux
|
|
end
|