dotfiles/dot_bashrc.tmpl

18 lines
411 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'
2022-12-01 17:18:03 +00:00
alias x='{{if eq .chezmoi.hostname "desktop"}}exec sway-nvidia{{else}}sway{{end}}'
2022-12-03 18:00:03 +00:00
alias v='nvim'
2022-11-24 15:16:17 +00:00
PS1='[\u@\h \W]\$ '