summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-27 10:56:21 +0200
committerLinnnus <[email protected]>2023-09-27 10:56:21 +0200
commitedbe4e1832220032b4625adbc82413eec40140c3 (patch)
treedf60868bcacdbbfa8bfadb2669aa719beb76e17f
parentd0fdf5abad8f9a6fdc8b412847d457cd47c9a304 (diff)
Misc. shell niceties
-rw-r--r--home/zsh/default.nix3
-rw-r--r--hosts/common.nix2
2 files changed, 4 insertions, 1 deletions
diff --git a/home/zsh/default.nix b/home/zsh/default.nix
index 1b8ce16..91c7ba3 100644
--- a/home/zsh/default.nix
+++ b/home/zsh/default.nix
@@ -16,6 +16,9 @@
dotDir = ".config/zsh";
history.path = config.xdg.cacheHome + "/zsh/history";
+ initExtra = ''
+ PROMPT='%F{41}->%f %B%(2L.LVL%L .)%b%F{red}%(?..E%? )%f%n@%U%m%u:%15<...<%~%<<%# '
+ '';
};
programs.fzf = {
diff --git a/hosts/common.nix b/hosts/common.nix
index b890431..3817a62 100644
--- a/hosts/common.nix
+++ b/hosts/common.nix
@@ -35,7 +35,7 @@
"mv" = "mv -i";
"rm" = "rm -i";
"cp" = "cp -i";
- "ls" = "ls -A --color=auto";
+ "ls" = "ls -F -G -A --color=auto";
"grep" = "grep --color=auto";
"file" = "file --no-dereference";
"tree" = "tree --dirsfirst";