28 lines
598 B
Bash
28 lines
598 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]\$ '
|
|
|
|
if uwsm check may-start; then
|
|
exec uwsm start hyprland.desktop
|
|
fi
|
|
|
|
# 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'
|