24 lines
486 B
Bash
24 lines
486 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
export GIT_EDITOR=nvim
|
|
export EDITOR=nvim
|
|
|
|
# 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]\$ '
|