Files
dotfiles/.bashrc
2026-05-18 13:08:10 +02:00

22 lines
444 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export PATH="$HOME/.local/bin:$PATH"
# Auto-start dwl on tty1 login
if [[ -z "$DISPLAY" ]] && [[ "$(tty)" = "/dev/tty1" ]]; then
exec ~/start_dwl.sh
fi
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias ls='ls --color=auto'
alias ll='ls -lah'
alias grep='grep --color=auto'
alias vim='nvim'
# PS1='[\u@\h \W]\$ '