summaryrefslogtreecommitdiff
path: root/common/programs
diff options
context:
space:
mode:
Diffstat (limited to 'common/programs')
-rw-r--r--common/programs/bash.nix7
-rw-r--r--common/programs/fish.nix2
2 files changed, 5 insertions, 4 deletions
diff --git a/common/programs/bash.nix b/common/programs/bash.nix
index f6987ed..6cd9b26 100644
--- a/common/programs/bash.nix
+++ b/common/programs/bash.nix
@@ -1,6 +1,6 @@
{
programs.bash = {
- enable = false;
+ enable = true;
historySize = 10000;
historyFile = "$HOME/.bash_history";
historyControl = [
@@ -18,7 +18,6 @@
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
-
if [ "$TERM" != "dumb" ] || [ -n "$INSIDE_EMACS" ]; then
# Removed the '1;' prefix to disable bold
PROMPT_COLOR="31m"
@@ -28,7 +27,9 @@
PS1="\[\033[$PROMPT_COLOR\]\u@\h:\w\\$\[\033[0m\] "
else
# PS1="\[\033[$PROMPT_COLOR\]\[\e]0;\u@\h: \w\a\]\u@\h:\w\\$\[\033[0m\] "
- PS1="\[\e[38;5;75m\]\u@\h \[\e[38;5;113m\]\w \[\e[38;5;189m\]\$ \[\e[0m\]"
+ # PS1="\[\e[34m\]\u@\h \[\e[32m\]\w \[\e[39m\]\$ \[\e[0m\]"
+ PS1="\[\e[94m\]\u@\h \[\e[32m\]\w \[\e[39m\]\$ \[\e[0m\]"
+ # PS1="\[\e[38;5;75m\]\u@\h \[\e[38;5;113m\]\w \[\e[38;5;189m\]\$ \[\e[0m\]"
fi
if test "$TERM" = "xterm"; then
diff --git a/common/programs/fish.nix b/common/programs/fish.nix
index 8d9be78..2ff1f90 100644
--- a/common/programs/fish.nix
+++ b/common/programs/fish.nix
@@ -8,7 +8,7 @@
# ];
programs.fish = {
- enable = true;
+ enable = false;
interactiveShellInit =
#fish
''