fish: a bit of color using grc
This commit is contained in:
parent
e774304bd2
commit
cdb461a4c3
2 changed files with 13 additions and 7 deletions
|
@ -6,17 +6,22 @@
|
||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
name = "transient-fish";
|
name = "grc";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fishPlugins.grc.src;
|
||||||
owner = "zzhaolei";
|
}
|
||||||
repo = "transient.fish";
|
{
|
||||||
rev = "deb35c4d07ea6acc56b073d7ba84f8ed76356abd";
|
name = "transient";
|
||||||
sha256 = "sha256-BQvuqY7D+9fTDeLb7Fz9Ll/7uIlqrmRmn0S+G9v+2Uc=";
|
src = pkgs.fishPlugins.transient-fish.src;
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
functions = {
|
functions = {
|
||||||
|
kubectl = {
|
||||||
|
description = "Wraps kubectl in grc";
|
||||||
|
wraps = "kubectl";
|
||||||
|
body = "grc.wrap kubectl $argv";
|
||||||
|
};
|
||||||
|
|
||||||
edit = {
|
edit = {
|
||||||
description = "Open a file in already running nvim and switch tab";
|
description = "Open a file in already running nvim and switch tab";
|
||||||
argumentNames = [ "file" ];
|
argumentNames = [ "file" ];
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
grc
|
||||||
dust
|
dust
|
||||||
jless
|
jless
|
||||||
procs
|
procs
|
||||||
|
|
Loading…
Reference in a new issue