From b88d77fb2d0d5028a6f5670695dee6bec129501f Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Fri, 5 Apr 2024 11:57:45 -0400 Subject: ahhh sloppy fish, still needs fixing, esp with the vars --- home-config/fish/config.fish | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 home-config/fish/config.fish (limited to 'home-config/fish/config.fish') diff --git a/home-config/fish/config.fish b/home-config/fish/config.fish new file mode 100644 index 0000000..f300cfe --- /dev/null +++ b/home-config/fish/config.fish @@ -0,0 +1,15 @@ +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" + set -gx EDITOR nvim + set -gax XDG_DATA_DIRS ~/.nix-profile/share + fish_add_path ~/.local/bin + fish_add_path ~/.nix-profile/bin + +end -- cgit v1.2.3