32 lines
878 B
Bash
32 lines
878 B
Bash
#
|
|
# ~/.zshrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
bindkey "^A" beginning-of-line
|
|
bindkey "^E" end-of-line
|
|
|
|
alias ls='ls --color=auto'
|
|
alias grep='grep --color=auto'
|
|
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
|
|
|
eval "$(starship init zsh)"
|
|
|
|
alias reboot-to-windows='sudo grub-reboot "Windows Boot Manager (on /dev/nvme1n1p1)" && sudo reboot'
|
|
export PATH=~/.npm-global/bin:~/.local/bin:$PATH
|
|
export SSH_AUTH_SOCK=/home/pmcc/.bitwarden-ssh-agent.sock
|
|
|
|
alias claude="/home/pmcc/.claude/local/claude"
|
|
|
|
# Added by LM Studio CLI (lms)
|
|
export PATH="$PATH:/home/pmcc/.lmstudio/bin"
|
|
# End of LM Studio CLI section
|
|
|
|
upload_arch_pkg() {
|
|
local pkg=$1
|
|
local category=$2
|
|
curl --user pmcc:b09e2881ab178613d2b6bfee7b4efa0178aea5d8 --upload-file "$pkg" "https://gitea.itspm.cc/api/packages/pmcc/arch/$category"
|
|
}
|