mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-22 03:52:53 +00:00
zsh
This commit is contained in:
parent
ad235fe1df
commit
6db32ff89b
1 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
|
@ -19,11 +20,13 @@
|
||||||
plugins = ["git" "colored-man-pages" "extract" "sudo"];
|
plugins = ["git" "colored-man-pages" "extract" "sudo"];
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(${lib.getExe pkgs.direnv} hook zsh)"
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
alias vv=nvim
|
|
||||||
alias yt-dlp-1080="yt-dlp -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]'"
|
|
||||||
'';
|
'';
|
||||||
|
home.shellAliases = {
|
||||||
|
vv = "nvim";
|
||||||
|
yt-dlp-1080 = "yt-dlp -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]'";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue