mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Adjusting spacing
This commit is contained in:
parent
93af5ef1c9
commit
06031cb78a
1 changed files with 1 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ is_ssh_session() {
|
||||||
|
|
||||||
#TODO: Change ps1 to project root in nix shells
|
#TODO: Change ps1 to project root in nix shells
|
||||||
# PS1 Config
|
# PS1 Config
|
||||||
# PS1 Config
|
|
||||||
function set_ps1_prompt() {
|
function set_ps1_prompt() {
|
||||||
local git_branch=""
|
local git_branch=""
|
||||||
local flake_icon=""
|
local flake_icon=""
|
||||||
|
|
@ -39,7 +38,7 @@ function set_ps1_prompt() {
|
||||||
# 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
|
||||||
# If it exists, set the flake icon and color it blue
|
# If it exists, set the flake icon and color it blue
|
||||||
flake_icon=" \[\033[01;34m\]\[\033[00m\]"
|
flake_icon="\[\033[01;34m\]\[\033[00m\]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the current directory relative to the Git root
|
# Get the current directory relative to the Git root
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue