mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Fixing up
This commit is contained in:
parent
78fce82d78
commit
93af5ef1c9
1 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ function set_ps1_prompt() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Wrap the branch name and : in braces and color it red
|
# Wrap the branch name and : in braces and color it red
|
||||||
git_branch=" \[\033[01;31m\]{$git_branch}:\[\033[00m\]"
|
git_branch=" \[\033[01;31m\]$git_branch:\[\033[00m\]"
|
||||||
|
|
||||||
# Check if flake.nix file exists
|
# Check if flake.nix file exists
|
||||||
if [ -f "$(git rev-parse --show-toplevel)/flake.nix" ]; then
|
if [ -f "$(git rev-parse --show-toplevel)/flake.nix" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue