Update fastfetch.nix
This commit is contained in:
parent
7880c3cc8d
commit
baaa3c69b5
1 changed files with 6 additions and 0 deletions
|
|
@ -78,6 +78,7 @@
|
|||
FG_CYAN="\001$(echo -e '\033[38;5;37m')\002"
|
||||
FG_BLUE="\001$(echo -e '\033[38;5;33m')\002"
|
||||
FG_PURPLE="\001$(echo -e '\033[38;5;98m')\002"
|
||||
FG_YELLOW="\001$(echo -e '\033[38;5;220m')\002"
|
||||
FG_GRAY="\001$(echo -e '\033[38;5;245m')\002"
|
||||
RESET="\001$(echo -e '\033[0m')\002"
|
||||
|
||||
|
|
@ -85,6 +86,11 @@
|
|||
build_path_prompt() {
|
||||
local output=""
|
||||
|
||||
# Check if in nix-shell and show indicator
|
||||
if [ -n "''${IN_NIX_SHELL}" ]; then
|
||||
output+="''${FG_YELLOW}[nix-shell]''${RESET} "
|
||||
fi
|
||||
|
||||
# Username in orange
|
||||
output+="''${FG_ORANGE}\u''${RESET} "
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue