feat(dotfiles): add pnpm support, virtualization aliases, and ssh agent hook

- Add aliases for virt-viewer, virt-install, and virsh
- Move firewall-cmd alias to Linux-specific block
- Update fish_add_path to explicitly use --global scope
This commit is contained in:
mitchell 2026-06-11 18:38:00 -04:00
parent 2f137cef36
commit e984a0dc40
3 changed files with 9 additions and 2 deletions

View file

@ -9,12 +9,15 @@ if status is-interactive
alias age-e 'age --armor --recipient (cat ~/.secrets/id_ed25519.pub)' alias age-e 'age --armor --recipient (cat ~/.secrets/id_ed25519.pub)'
alias age-k 'age --decrypt --identity ~/.secrets/id_ed25519 ~/.secrets/age_keys.age' alias age-k 'age --decrypt --identity ~/.secrets/id_ed25519 ~/.secrets/age_keys.age'
alias kp 'keepassxc-cli show -k ~/.secrets/mjfs_keepass_key_file ~/.passwords/mjfs.kdbx' alias kp 'keepassxc-cli show -k ~/.secrets/mjfs_keepass_key_file ~/.passwords/mjfs.kdbx'
alias fwl 'sudo firewall-cmd'
switch (uname) switch (uname)
case Linux case Linux
alias sctl 'sudo systemctl' alias sctl 'sudo systemctl'
alias uctl 'systemctl --user' alias uctl 'systemctl --user'
alias bctl bluetoothctl alias bctl bluetoothctl
alias fwl 'sudo firewall-cmd'
alias vv 'virt-viewer'
alias vi 'virt-install'
alias vs 'virsh'
end end
end end

View file

@ -10,6 +10,7 @@ set -gx GOPATH $HOME/code/go
set -gx GOBIN $GOPATH/bin set -gx GOBIN $GOPATH/bin
set -gx BUN_INSTALL $HOME/.bun set -gx BUN_INSTALL $HOME/.bun
set -gx PNPM_HOME $HOME/.local/share/pnpm
set -gx LIBVIRT_DEFAULT_URI 'qemu:///system' set -gx LIBVIRT_DEFAULT_URI 'qemu:///system'
@ -21,7 +22,7 @@ end
set -gx PYENV_ROOT $HOME/.pyenv set -gx PYENV_ROOT $HOME/.pyenv
fish_add_path $GOBIN \ fish_add_path --global $GOBIN \
$HOME/.local/bin \ $HOME/.local/bin \
$HOME/.pub-cache/bin \ $HOME/.pub-cache/bin \
$HOME/code/scripts \ $HOME/code/scripts \
@ -29,6 +30,7 @@ fish_add_path $GOBIN \
$HOME/.cargo/bin \ $HOME/.cargo/bin \
$HOME/.dotnet/tools \ $HOME/.dotnet/tools \
$BUN_INSTALL/bin \ $BUN_INSTALL/bin \
$PNPM_HOME/bin \
$PYENV_ROOT/bin \ $PYENV_ROOT/bin \
$ANDROID_HOME/emulator \ $ANDROID_HOME/emulator \
$ANDROID_HOME/platform-tools $ANDROID_HOME/platform-tools

View file

@ -1,3 +1,5 @@
ssh_agent_startup
# ASDF config start # ASDF config start
if test -z $ASDF_DATA_DIR if test -z $ASDF_DATA_DIR
set _asdf_shims "$HOME/.asdf/shims" set _asdf_shims "$HOME/.asdf/shims"