home-config/fish/config.fish
9026be364d5e7ec04c739bfbc5fcc20b03bddf43
· 920 B · 22 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 | alias python "python3" |
| 11 | alias spt "spotify_player" |
| 12 | alias ls "ls -p --color=auto" |
| 13 | alias grep "grep --color=auto" |
| 14 | alias ll "ls -l" |
| 15 | set -gx EDITOR nvim |
| 16 | set -gax XDG_DATA_DIRS ~/.nix-profile/share |
| 17 | fish_add_path ~/.local/bin |
| 18 | fish_add_path ~/.nix-profile/bin |
| 19 | |
| 20 | zoxide init fish | source |
| 21 | |
| 22 | end |