1
0
mirror of https://github.com/Foltik/dotfiles synced 2025-01-07 08:42:47 -05:00

Add bash stuff

This commit is contained in:
Jack Foltz 2018-11-30 21:24:58 -05:00
parent 2a87cb1cc0
commit 1ad2298004
Signed by: foltik
GPG Key ID: D1F0331758D1F29A
2 changed files with 10 additions and 0 deletions

3
lain/.bash_profile Normal file
View File

@ -0,0 +1,3 @@
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec startx
fi

7
lain/.bashrc Normal file
View File

@ -0,0 +1,7 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Unless we are running bash with a command explicitly (-c), drop into fish
if [ -z "$BASH_EXECUTION_STRING" ]; then
exec fish
fi