mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-08-10 08:09:35 +00:00
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:
parent
2f137cef36
commit
e984a0dc40
3 changed files with 9 additions and 2 deletions
|
|
@ -9,12 +9,15 @@ if status is-interactive
|
|||
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 kp 'keepassxc-cli show -k ~/.secrets/mjfs_keepass_key_file ~/.passwords/mjfs.kdbx'
|
||||
alias fwl 'sudo firewall-cmd'
|
||||
|
||||
switch (uname)
|
||||
case Linux
|
||||
alias sctl 'sudo systemctl'
|
||||
alias uctl 'systemctl --user'
|
||||
alias bctl bluetoothctl
|
||||
alias fwl 'sudo firewall-cmd'
|
||||
alias vv 'virt-viewer'
|
||||
alias vi 'virt-install'
|
||||
alias vs 'virsh'
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ set -gx GOPATH $HOME/code/go
|
|||
set -gx GOBIN $GOPATH/bin
|
||||
|
||||
set -gx BUN_INSTALL $HOME/.bun
|
||||
set -gx PNPM_HOME $HOME/.local/share/pnpm
|
||||
|
||||
set -gx LIBVIRT_DEFAULT_URI 'qemu:///system'
|
||||
|
||||
|
|
@ -21,7 +22,7 @@ end
|
|||
|
||||
set -gx PYENV_ROOT $HOME/.pyenv
|
||||
|
||||
fish_add_path $GOBIN \
|
||||
fish_add_path --global $GOBIN \
|
||||
$HOME/.local/bin \
|
||||
$HOME/.pub-cache/bin \
|
||||
$HOME/code/scripts \
|
||||
|
|
@ -29,6 +30,7 @@ fish_add_path $GOBIN \
|
|||
$HOME/.cargo/bin \
|
||||
$HOME/.dotnet/tools \
|
||||
$BUN_INSTALL/bin \
|
||||
$PNPM_HOME/bin \
|
||||
$PYENV_ROOT/bin \
|
||||
$ANDROID_HOME/emulator \
|
||||
$ANDROID_HOME/platform-tools
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
ssh_agent_startup
|
||||
|
||||
# ASDF config start
|
||||
if test -z $ASDF_DATA_DIR
|
||||
set _asdf_shims "$HOME/.asdf/shims"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue