aboutsummaryrefslogtreecommitdiff
path: root/fish/config.fish
blob: ffaf209ec0276405cee2485cf70dbe622dd089f4 (plain) (blame)
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
#!/bin/fish

function fish_prompt
  printf (if fish_is_root_user
    echo '%s%s%s # '
  else
    echo '%s%s%s $ '
  end) (set_color $fish_color_cwd) (prompt_pwd --full-length-dirs 5) (set_color normal)
end

fish_add_path -p ~/.cargo/bin ~/.ghcup/bin
set -U fish_greeting
set EDITOR "nvim"

if status is-login
	killall ssh-agent 1> /dev/null 2>&1
	eval (ssh-agent -c) 1> /dev/null 2>&1
	ssh-add ~/.ssh/zenbook 1> /dev/null 2>&1
	exec niri-session -l 1> /dev/null 2>&1
end

zoxide init fish | source


# Added by Antigravity CLI installer
set -gx PATH "/home/ericmarin/.local/bin" $PATH