mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
init
This commit is contained in:
28
modules/fish.nix
Normal file
28
modules/fish.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user