mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
29 lines
532 B
Nix
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
|
|
'';
|
|
};
|
|
}
|