if status is-login eval "$(guix package --search-paths \ -p ~/.config/guix/current \ -p ~/.guix-profile \ -p /run/current-system/profile)" fish_add_path -Pp ~/.local/bin fish_add_path -Pp ~/.guix-home/profile/bin fish_add_path -Pp /run/setuid-programs fish_add_path -Pp ~/.nix-profile/bin set -gx EDITOR nvim set -gax XDG_DATA_DIRS ~/.nix-profile/share fenv source ~/.profile # Bad find ~/.config/fish/ -name "*tmp*" -exec {} + end if status is-interactive # Commands to run in interactive sessions can go here alias quit exit alias cat "bat --paging=never" alias ds "sudo -E guix system -L ~/.config/guix/modules reconfigure ~/.config/guix/$(prompt_hostname).scm" alias dh "guix home -L ~/.config/guix/modules reconfigure ~/.config/guix/home-config/home-configuration.scm && home-manager switch" alias gc "git -C ~/.config/guix add . && git -C ~/.config/guix commit && git -C ~/.config/guix push all" alias cg "git -C ~/.config/guix pull" alias cgh "git -C ~/.config/guix pull stationeryh main" alias python "python3" alias spt "spotify_player" alias ls "ls -p --color=auto" alias grep "grep --color=auto" alias ll "ls -l" end