dotfiles/dot_bashrc.tmpl

16 lines
313 B
Cheetah
Raw Normal View History

2022-11-24 15:16:17 +00:00
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export EDITOR=nvim;
export VISUAL=nvim;
alias cfg=chezmoi
2022-11-25 16:55:45 +00:00
alias cfge="chezmoi edit --apply"
2022-11-24 15:16:17 +00:00
2022-11-25 18:26:14 +00:00
{{ if eq .chezmoi.hostname "desktop" }}
export LIBVA_DRIVER_NAME=nvidia
{{ end }}
2022-11-25 16:56:27 +00:00
2022-11-24 15:16:17 +00:00
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '