mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-02 23:19:41 +00:00
home/fish: fix nix gotchas
This commit is contained in:
parent
cb4bf969bc
commit
a2817fef0d
1 changed files with 4 additions and 6 deletions
|
|
@ -5,13 +5,11 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
shellAbbrs = lib.mkMerge [
|
shellAbbrs = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
(lib.mkIf pkgs.stdenv.isLinux {
|
"," = "nix-shell --command $SHELL -p";
|
||||||
"," = "nix-shell --command $SHELL -p";
|
};
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
shellAliases = lib.mergeAttrsList [
|
shellAliases = lib.mkMerge [
|
||||||
{
|
{
|
||||||
rm = "rm -I"; # idiot protection
|
rm = "rm -I"; # idiot protection
|
||||||
tree = "tree -Cph";
|
tree = "tree -Cph";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue