dotfiles/dot_bashrc.tmpl
2022-12-01 21:18:03 +04:00

17 lines
396 B
Cheetah

# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export EDITOR=nvim;
export VISUAL=nvim;
alias cfg=chezmoi
alias cfge="chezmoi edit --apply"
{{ if eq .chezmoi.hostname "desktop" }}
export LIBVA_DRIVER_NAME=nvidia
{{ end }}
alias ls='ls --color=auto'
alias x='{{if eq .chezmoi.hostname "desktop"}}exec sway-nvidia{{else}}sway{{end}}'
PS1='[\u@\h \W]\$ '