mirror of
https://github.com/Foltik/dotfiles
synced 2025-01-07 08:42:47 -05:00
Add bash stuff
This commit is contained in:
parent
2a87cb1cc0
commit
1ad2298004
3
lain/.bash_profile
Normal file
3
lain/.bash_profile
Normal file
@ -0,0 +1,3 @@
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
exec startx
|
||||
fi
|
7
lain/.bashrc
Normal file
7
lain/.bashrc
Normal 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
|
Loading…
Reference in New Issue
Block a user