Files
dotfiles/.bashrc
2025-06-08 18:38:53 -04:00

34 lines
781 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:$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