bashrc: Adhere to a sane directory structure

This commit is contained in:
2018-08-08 16:01:27 -05:00
parent a15c185e93
commit eb742febb8
2 changed files with 0 additions and 88 deletions

23
shrc/bashrc Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Sometimes you can't change your shell. Sometimes you have to implement hacky
# workarounds
if [ -f ~/.bash-to-zsh ]; then
export SHELL=$(which zsh)
exec zsh
fi
# Source /etc/profile
source /etc/profile
# Source .profile
if [ -f ~/.profile ]; then
source ~/.profile
fi