dotfiles/dot_bashrc.tmpl
2022-12-03 22:00:03 +04:00

18 lines
411 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}}'
alias v='nvim'
PS1='[\u@\h \W]\$ '