guix-dotfiles/home-config/fish/config.fish
2024-04-10 20:13:45 -04:00

23 lines
920 B
Fish

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"
set -gx EDITOR nvim
set -gax XDG_DATA_DIRS ~/.nix-profile/share
fish_add_path ~/.local/bin
fish_add_path ~/.nix-profile/bin
zoxide init fish | source
end