summaryrefslogtreecommitdiffstats
path: root/sh.nix
diff options
context:
space:
mode:
authorSkullheadx <admonty1@gmail.com>2026-06-29 11:17:12 -0400
committerSkullheadx <admonty1@gmail.com>2026-06-29 11:17:12 -0400
commit02e78ddd47a8fffc62216d69befc47ceb098a9c7 (patch)
tree2784ee7405c5543dc70260e48bb7169cf1350ed0 /sh.nix
parentadd pass and gnupg (diff)
downloadnixos-02e78ddd47a8fffc62216d69befc47ceb098a9c7.tar.gz
nixos-02e78ddd47a8fffc62216d69befc47ceb098a9c7.tar.bz2
nixos-02e78ddd47a8fffc62216d69befc47ceb098a9c7.zip
fix nvim darwin
Diffstat (limited to 'sh.nix')
-rw-r--r--sh.nix55
1 files changed, 0 insertions, 55 deletions
diff --git a/sh.nix b/sh.nix
deleted file mode 100644
index be2975e..0000000
--- a/sh.nix
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- config,
- pkgs,
- ...
-}: {
- programs.bash = {
- enable = true;
- interactiveShellInit = ''
- shopt -s autocd
- shopt -s cdable_vars
- shopt -s cdspell
- shopt -s dirspell
- shopt -s checkjobs
- shopt -s cmdhist
- shopt -s histappend
- shopt -s globstar
- shopt -s extglob
- '';
- promptInit = ''
- PS1="\[\e[97m\][\[\e[m\]\[\e[92m\]\u\[\e[m\]\[\e[32m\]@\[\e[m\]\[\e[92m\]\h\[\e[m\]:\[\e[92m\]\w\[\e[m\]\[\e[97m\]]\[\e[m\]\[\e[97m\]\\$\[\e[m\] "
- '';
- shellAliases = {
- nix-sw = "sudo nixos-rebuild switch --flake .";
- nix-upd-sl = "sudo nix flake update my-slstatus my-dwm my-surf my-st my-dmenu";
- };
- };
- programs.zsh = {
- enable = true;
- enableAutosuggestions = true;
- enableBashCompletion = true;
- enableCompletion = true;
- enableFastSyntaxHighlighting = true;
- enableFzfCompletion = true;
- enableFzfGit = true;
- enableFzfHistory = true;
- };
-
- environment.etc."inputrc".text = ''
- set editing-mode vi
- set show-mode-in-prompt on
- set keyseq-timeout 10
-
- set vi-ins-mode-string "\1\e[5 q\2"
- set vi-cmd-mode-string "\1\e[2 q\2"
-
-
- set colored-stats on
- set colored-completion-prefix on
- set blink-matching-paren on
-
- set completion-ignore-case on
- set show-all-if-ambiguous on
- set completion-map-case on
- '';
-}