Files
amazing-dotfiles/modules/fish.nix
2026-02-20 00:10:40 +01:00

29 lines
532 B
Nix

{ pkgs, ... }:
{
programs.fish = {
enable = true;
interactiveShellInit = ''
# no dum greeting
set fish_greeting ""
# yes, please setup git for me
gh auth setup-git
# add github ssh key
eval (ssh-agent -c) > /dev/null
ssh-add ~/.ssh/github 2> /dev/null
# add github gpg key
set -gx GPG_TTY (tty)
# vi mode
fish_vi_key_bindings
# Odpalenie fastfetcha na start
clear
fastfetch --config ~/.config/fastfetch/startup.jsonc
'';
};
}