a fresh start, somewhat

This commit is contained in:
mokou 2023-03-06 10:38:28 +01:00
parent d8b7e86dd6
commit c75364cad4
5 changed files with 30 additions and 15 deletions

View file

@ -20,21 +20,13 @@ end
setpath /opt/local/bin
setpath /opt/homebrew/bin
setpath ~/.rbenv/shims
setpath ~/.rbenv/bin
setpath ~/.pyenv/shims
setpath ~/.cargo/bin
setpath ~/.nimble/bin
setpath ~/.local/bin
setpath ~/.local/bin/elixir-ls
setpath ~/.bin
setpath ~/.cask/bin
setpath ~/.npm-packages/bin
setpath ~/.n/bin
setpath /snap/bin
setpath ~/.emacs.d/bin
setpath ~/.fly/bin
setpath ~/.nimble/bin
setpath ~/Projects/go/bin
setpath ~/.bun/bin
setpath ~/go/bin
@ -63,23 +55,28 @@ set -x LANG "en_US.UTF-8"
set -x TZ_LIST "Europe/Berlin;Berlin,America/New_York;US East,America/Los_Angeles;US West,Europe/London;London"
# General Aliases
# Convenience for editing my shell config
alias editconfig "chezmoi edit ~/.config/fish/config.fish; and chezmoi apply; and source ~/.config/fish/config.fish"
alias printsshkey "cat ~/.ssh/id_ed25519.pub -p --color never"
# Some other aliases
alias doco "docker-compose"
alias czm "chezmoi"
# z is such a weird key to hit frequently, j is much better
alias j "z"
# Cargoes and Rust-s
alias c "cargo"
alias cr "cargo run"
alias cb "cargo build"
alias cwr "cargo watch -x run"
alias rp "rustup"
# Rubies
alias be "bundle exec"
# cd into a temp directory, very useful!
alias mkt "cd (mktemp -d)"
alias czm "chezmoi"
alias lsh "ls -lah"
# Git Aliases
alias g "git"
alias gs "g status --short"
alias gl "g log --color --graph --abbrev-commit --oneline"
# "git quick push" and "git quick commit". it makes sense in my head
alias gqp "g add --all; and g commit; and g push"
alias gqc "g add --all; and g commit"
alias gpl "g pull"