mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Reverted
This commit is contained in:
parent
5208e4c3ee
commit
343e4dd1a9
2 changed files with 1 additions and 4 deletions
|
|
@ -3,6 +3,3 @@ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
# Start Sway in the background
|
# Start Sway in the background
|
||||||
exec sway
|
exec sway
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.bashrc
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ is_ssh_session() {
|
||||||
|
|
||||||
# PS1 Config
|
# PS1 Config
|
||||||
if [ -n "${IN_NIX_SHELL:+x}" ]; then
|
if [ -n "${IN_NIX_SHELL:+x}" ]; then
|
||||||
PS1="\[\033[01;34m\]\w\[\033[00m\]\n\[\033[01;32m\]devShell > \[\033[00m\]"
|
PS1="\[\033[01;34m\]\w\[\033[00m\]\n\[\033[01;32m\]nixShell > \[\033[00m\]"
|
||||||
else
|
else
|
||||||
if ! is_ssh_session; then
|
if ! is_ssh_session; then
|
||||||
PS1="\n\[\033[01;34m\]\w\[\033[00m\]\n\[\033[01;32m\]> \[\033[00m\]"
|
PS1="\n\[\033[01;34m\]\w\[\033[00m\]\n\[\033[01;32m\]> \[\033[00m\]"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue