dot_testing/environ

12 lines
321 B
Plaintext
Raw Normal View History

#!/bin/sh
set -x
2022-06-07 23:13:10 -05:00
[ -f .environment ] && exit 2
[ -w /etc/bash.bashrc ] || exit 1
[ -w /etc/profile ] || exit 1
printf '[ -f $HOME/.config/bash/bashrc ] && . $HOME/.config/bash/bashrc\n' >> /etc/bash.bashrc
printf '[ -f $HOME/.config/bash/profile ] && . $HOME/.config/bash/profile\n' >> /etc/profile
2022-06-07 23:13:10 -05:00
touch .environment