This commit is contained in:
mokou 2022-12-05 13:54:25 +01:00
parent 6443ead17a
commit d8b7e86dd6
6 changed files with 32 additions and 2 deletions

View file

@ -36,6 +36,7 @@ setpath ~/.fly/bin
setpath ~/.nimble/bin
setpath ~/Projects/go/bin
setpath ~/.bun/bin
setpath ~/go/bin
# zoxide setup
zoxide init fish | source
@ -70,6 +71,7 @@ alias c "cargo"
alias cr "cargo run"
alias cb "cargo build"
alias cwr "cargo watch -x run"
alias rp "rustup"
alias be "bundle exec"
alias mkt "cd (mktemp -d)"
alias czm "chezmoi"
@ -83,6 +85,7 @@ alias gqc "g add --all; and g commit"
alias gpl "g pull"
alias gps "g push"
alias gc "g commit"
alias gb "g branch"
alias gaa "g add --all"
alias gco "g checkout"
alias gse "g send-email"
@ -90,3 +93,13 @@ alias wip "g add --all; and g commit -m WIP"
alias squish "gs; and g commit -a --amend -C HEAD"
alias editorigin "git remote set-url origin"
# Alias vim to helix if it exists because vim is way easier to type
if command --search hx > /dev/null
alias vim "hx"
end
# Load nix profile if nix is installed
if test -e /nix
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish
set -x NIX_PATH "$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels"
end