fish: auto startx on tty1
This commit is contained in:
parent
3901276992
commit
749b49bbac
@ -8,4 +8,4 @@
|
|||||||
|
|
||||||
# Use fish in place of bash
|
# Use fish in place of bash
|
||||||
# keep this line at the bottom of ~/.bashrc
|
# keep this line at the bottom of ~/.bashrc
|
||||||
[ -x {{ $fish_path }} ] && SHELL={{ $fish_path }} exec fish
|
[ -x {{ $fish_path }} ] && SHELL={{ $fish_path }} exec fish -l
|
||||||
|
@ -32,3 +32,9 @@ if status --is-interactive
|
|||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if status is-login
|
||||||
|
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
|
||||||
|
exec startx
|
||||||
|
end
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user