mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
formated whole config with alejandra
This commit is contained in:
@@ -1,33 +1,34 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestion.enable = true;
|
||||
initContent = ''
|
||||
# Safe cat that uses colorize plugin ccat
|
||||
custom-cat() {
|
||||
if [[ -t 1 ]]; then
|
||||
ccat "$@"
|
||||
else
|
||||
command cat "$@"
|
||||
fi
|
||||
}
|
||||
# Safe cat that uses colorize plugin ccat
|
||||
custom-cat() {
|
||||
if [[ -t 1 ]]; then
|
||||
ccat "$@"
|
||||
else
|
||||
command cat "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
fastfetch''\n''
|
||||
;
|
||||
fastfetch''\n'';
|
||||
shellAliases = {
|
||||
".." = "z ..";
|
||||
grep = "rg";
|
||||
ll = "ls -alF";
|
||||
la = "ls -A";
|
||||
l = "ls -CF";
|
||||
ls = "ls -hA -s --color";
|
||||
cat = "custom-cat";
|
||||
pomodoro = "custom-tomato";
|
||||
librewolf = "kitty --class \"custom-librewolfprofiles\" --name \"Select LibreWolf profile\" --hold custom-librewolfprofiles";
|
||||
manix = "custom-manix";
|
||||
man = "custom-man";
|
||||
};
|
||||
".." = "z ..";
|
||||
grep = "rg";
|
||||
ll = "ls -alF";
|
||||
la = "ls -A";
|
||||
l = "ls -CF";
|
||||
ls = "ls -hA -s --color";
|
||||
cat = "custom-cat";
|
||||
pomodoro = "custom-tomato";
|
||||
librewolf = "kitty --class \"custom-librewolfprofiles\" --name \"Select LibreWolf profile\" --hold custom-librewolfprofiles";
|
||||
manix = "custom-manix";
|
||||
man = "custom-man";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user