summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix1
-rw-r--r--zsh/custom/themes/mediocregopher.zsh-theme10
2 files changed, 2 insertions, 9 deletions
diff --git a/default.nix b/default.nix
index f419430..81e43a7 100644
--- a/default.nix
+++ b/default.nix
@@ -95,6 +95,7 @@ in rec {
pkgs.mercurial
pkgs.breezy # bzr
pkgs.nano
+ pkgs.gnumake
pkgs.curl
pkgs.wget
diff --git a/zsh/custom/themes/mediocregopher.zsh-theme b/zsh/custom/themes/mediocregopher.zsh-theme
index 529f46b..dd030e4 100644
--- a/zsh/custom/themes/mediocregopher.zsh-theme
+++ b/zsh/custom/themes/mediocregopher.zsh-theme
@@ -1,14 +1,6 @@
#!/usr/bin/env zsh
-# Unique string based on hostname
-sha1=$(echo $(hostname) | sha1sum | awk '{print $1}' | grep -oP '[0-9a-f]{8}' | head -n1)
-# Turn sha1 into int
-asint=$(printf "%d" 0x$sha1)
-
-colorint=$(printf "%03d" $(expr $asint % 255))
-color=$FG[$colorint]
-
-PROMPT='%{$color%} %~%{$reset_color%}$(git_prompt_info)$(git_prompt_status)%{$reset_color%} :: '
+PROMPT='%{$fg[blue]%} %~%{$reset_color%}$(git_prompt_info)$(git_prompt_status)%{$reset_color%} :: '
ZSH_THEME_GIT_PROMPT_PREFIX=" ::%{$fg[green]%} "
ZSH_THEME_GIT_PROMPT_SUFFIX=""