35 lines
848 B
Bash
35 lines
848 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
alias ls='ls --color=auto'
|
|
alias grep='grep --color=auto'
|
|
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
# pnpm
|
|
export PNPM_HOME="/home/pmcc/.local/share/pnpm"
|
|
case ":$PATH:" in
|
|
*":$PNPM_HOME:"*) ;;
|
|
*) export PATH="$PNPM_HOME:$PATH" ;;
|
|
esac
|
|
# pnpm end
|
|
|
|
eval "$(starship init bash)"
|
|
|
|
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=~/.1password/agent.sock
|
|
|
|
if uwsm check may-start; then
|
|
exec uwsm start sway.desktop
|
|
fi
|
|
|
|
#if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ] ; then
|
|
# exec sway
|
|
#fi
|
|
alias claude="/home/pmcc/.config/claude/local/claude"
|