home-config/fish/config.fish
b88d77fb2d0d5028a6f5670695dee6bec129501f
· 741 B · 15 lines
raw
| 1 | if status is-interactive |
| 2 | # Commands to run in interactive sessions can go here |
| 3 | alias quit exit |
| 4 | alias cat "bat --paging=never" |
| 5 | alias ds "sudo -E guix system -L ~/.config/guix/modules reconfigure ~/.config/guix/$(prompt_hostname).scm" |
| 6 | alias dh "guix home -L ~/.config/guix/modules reconfigure ~/.config/guix/home-config/home-configuration.scm && home-manager switch" |
| 7 | alias gc "git -C ~/.config/guix add . && git -C ~/.config/guix commit && git -C ~/.config/guix push all" |
| 8 | alias cg "git -C ~/.config/guix pull" |
| 9 | alias cgh "git -C ~/.config/guix pull stationeryh main" |
| 10 | set -gx EDITOR nvim |
| 11 | set -gax XDG_DATA_DIRS ~/.nix-profile/share |
| 12 | fish_add_path ~/.local/bin |
| 13 | fish_add_path ~/.nix-profile/bin |
| 14 | |
| 15 | end |