aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/config.fish
blob: e113322adbff3660a6b52b4ccf2ea5e3f5307519 (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
#!/usr/bin/env fish
abbr -a cls clear
abbr -a ls lsd

export DENO_INSTALL="/home/luca/.deno"
export PATH="/bin:$DENO_INSTALL/bin:/home/luca/.cargo/bin:/home/luca/.local/bin:$HOME/bin:$HOME/.dprint/bin:$PATH"
export EDITOR=nvim

export MANPAGER="sh -c 'col -bx | bat -l man -p'"
alias cat='bat --paging=never -p'

deno completions fish | source
arduino-cli completion fish | source
starship completions fish | source
starship init fish | source


function fish_greeting
  #fastfetch
  fortune -s | cowsay -f (ls /usr/share/cows/*.cow | shuf -n1) | lolcat -t -F 0.3
end

funcsave fish_greeting