diff options
| author | beeb5k <beebeeb5k@gmail.com> | 2026-06-07 12:29:22 +0530 |
|---|---|---|
| committer | beeb5k <beebeeb5k@gmail.com> | 2026-06-07 12:29:22 +0530 |
| commit | 20d922e7984ad22964f31a1a3fe3377ed23d4c4a (patch) | |
| tree | 0d7413a7ffbd90905d34e4ceb60febe8a0f656a3 /common/programs | |
| parent | 267ea5a480555b3cf621bf4e76a6726f3592436a (diff) | |
Bash is what god intended us to use
Diffstat (limited to 'common/programs')
| -rw-r--r-- | common/programs/bash.nix | 41 | ||||
| -rw-r--r-- | common/programs/fish.nix | 5 | ||||
| -rw-r--r-- | common/programs/vesktop.nix | 6 |
3 files changed, 44 insertions, 8 deletions
diff --git a/common/programs/bash.nix b/common/programs/bash.nix new file mode 100644 index 0000000..1ad9e80 --- /dev/null +++ b/common/programs/bash.nix @@ -0,0 +1,41 @@ +{ + programs.bash = { + enable = true; + historySize = 10000; + historyFile = "$HOME/.bash_history"; + historyControl = [ + "ignorespace" + "erasedups" + ]; + initExtra = '' + shopt -s histappend + + bind "set completion-ignore-case on" + bind "set show-all-if-ambiguous on" + + bind '"\e[Z": menu-complete-backward' + + 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" + ((UID)) && PROMPT_COLOR="32m" + + if [ -n "$INSIDE_EMACS" ]; then + 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\]" + fi + + if test "$TERM" = "xterm"; then + PS1="\[\033]2;\h:\u:\w\007\]$PS1" + fi + fi + ''; + }; + +} diff --git a/common/programs/fish.nix b/common/programs/fish.nix index e45182a..9d979a2 100644 --- a/common/programs/fish.nix +++ b/common/programs/fish.nix @@ -7,7 +7,6 @@ home.packages = with pkgs; [ fzf - pay-respects ]; programs.fish = { @@ -21,10 +20,6 @@ set -U fish_color_user blue set -U fish_color_host normal set -U fish_color_cwd blue - - pay-respects fish | source - - alias fuck='f' ''; }; } diff --git a/common/programs/vesktop.nix b/common/programs/vesktop.nix index 0363bb9..1211011 100644 --- a/common/programs/vesktop.nix +++ b/common/programs/vesktop.nix @@ -1,7 +1,7 @@ { lib, config, ... }: { programs.vesktop = { - enable = false; + enable = true; vencord = { settings = { enabledThemes = @@ -10,9 +10,9 @@ && config.beeMods.windowManagers.beeConfig.enable && !config.beeMods.windowManagers.noctalia then - [ "system24-matugen" ] + [ "system24-matugen.css" ] else - [ "noctalia-system24" ]; + [ "discord-system24.css" ]; autoUpdate = false; autoUpdateNotification = false; notifyAboutUpdates = false; |
