Use VI keybindings in fish shell
This commit is contained in:
parent
ec10309491
commit
6cab6c0bf1
1 changed files with 7 additions and 3 deletions
|
@ -62,9 +62,13 @@
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellInit = lib.optionalString (builtins.hasAttr "cachix-personal-token" age.secrets) ''
|
shellInit =
|
||||||
export CACHIX_AUTH_TOKEN=$(cat ${age.secrets.cachix-personal-token.path})
|
''
|
||||||
'';
|
fish_vi_key_bindings
|
||||||
|
''
|
||||||
|
+ lib.optionalString (builtins.hasAttr "cachix-personal-token" age.secrets) ''
|
||||||
|
export CACHIX_AUTH_TOKEN=$(cat ${age.secrets.cachix-personal-token.path})
|
||||||
|
'';
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"cat" = "bat";
|
"cat" = "bat";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue