Remove .config/btop/btop.conf

Add .config/btop/btop.conf
Update .config/home-manager/home.nix
Remove .config/fish/config.fish
Update .config/fish/functions/update.fish
Add .config/fish/config.fish
Add .config/yazi/yazi.toml
Remove .config/yazi/yazi.toml
This commit is contained in:
2026-02-19 20:24:29 +01:00
parent 4ea305701b
commit 4a0df9a038
8 changed files with 116 additions and 516 deletions

View File

@@ -1,28 +0,0 @@
if status is-interactive
# editors for yazi
export EDITOR="nvim"
export VISUAL="nvim"
# better shell history
atuin init fish | source
# no dum greeting
set fish_greeting ""
# yes, please setup git for me
gh auth setup-git
# add github ssh key
eval (ssh-agent -c)
ssh-add ~/.ssh/github
# add github gpg key
set -gx GPG_TTY (tty)
# vi mode
fish_vi_key_bindings
# better cd
zoxide init fish | source
clear
fastfetch --config ~/.config/fastfetch/startup.jsonc
end
# Added by LM Studio CLI (lms)
set -gx PATH $PATH /home/szymon/.lmstudio/bin
# End of LM Studio CLI section

View File

@@ -14,4 +14,9 @@ function update --description "update system"
flatpak update --noninteractive
echo "===Flatpak remove unused==="
flatpak uninstall --unused
echo "===Nix update==="
nix-channel --update
home-manager switch
echo "===Nix garbage collection==="
home-manager expire-generations "-7 days"
end

View File

@@ -0,0 +1,60 @@
# ~/.config/fish/config.fish: DO NOT EDIT -- this file has been generated
# automatically by home-manager.
# Only execute this file once per shell.
set -q __fish_home_manager_config_sourced; and exit
set -g __fish_home_manager_config_sourced 1
source /nix/store/z0x6vm2fcmbvd2vk7i3lqg342pb5vvfi-hm-session-vars.fish/etc/profile.d/hm-session-vars.fish
# Source handler functions
status is-login; and begin
# Login shell initialisation
end
status is-interactive; and begin
# Abbreviations
# Aliases
# Interactive shell initialisation
/nix/store/nrfxnpgn8m6cvcgsdwhix7pd8z27vd7w-zoxide-0.9.9/bin/zoxide init fish | source
# add completions generated by Home Manager to $fish_complete_path
begin
set -l joined (string join " " $fish_complete_path)
set -l prev_joined (string replace --regex "[^\s]*generated_completions.*" "" $joined)
set -l post_joined (string replace $prev_joined "" $joined)
set -l prev (string split " " (string trim $prev_joined))
set -l post (string split " " (string trim $post_joined))
set fish_complete_path $prev "/home/szymon/.local/share/fish/home-manager/generated_completions" $post
end
/nix/store/h2rh9c9sa6fiix2xr4jbll7wsji0jxvi-atuin-18.11.0/bin/atuin init fish | source
# no dum greeting
set fish_greeting ""
# yes, please setup git for me
gh auth setup-git
# add github ssh key
# (dodałem przekierowanie błędów, żeby nie śmieciło na ekranie przy starcie)
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
end