WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
2 changed files with 3 additions and 10 deletions
Showing only changes of commit f869d15f7b - Show all commits

View file

@ -39,12 +39,8 @@ zinit ice lucid atinit'zpcompinit'
zinit light zdharma-continuum/fast-syntax-highlighting zinit light zdharma-continuum/fast-syntax-highlighting
# use fzf with zsh # use fzf with zsh
{%@@ if distro_id == "arch" @@%}
source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/key-bindings.zsh
source /usr/share/fzf/completion.zsh source /usr/share/fzf/completion.zsh
{%@@ elif distro_id == "ubuntu" @@%}
# Source from home directory since ubuntu has # enable https://github.com/nvbn/thefuck
# old version of FZF in it's repositories eval $(thefuck --alias)
source ~/Software/fzf/shell/key-bindings.zsh
source ~/Software/fzf/shell/completion.zsh
{%@@ endif @@%}

View file

@ -248,6 +248,3 @@ dct() {
yj -ty < $file_path | docker compose -f - $@ yj -ty < $file_path | docker compose -f - $@
} }
# enable https://github.com/nvbn/thefuck
eval $(thefuck --alias)