feat: add some tools
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{ pkgs, ... }: {
|
||||
home.file.".config/fish/completions/flux.fish".source =
|
||||
../../shell/completions/flux.fish;
|
||||
home.file.".config/fish/kube.fish".source = ../../shell/kube.fish;
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellInit = ''
|
||||
@@ -14,6 +18,10 @@
|
||||
alias vi="nvim"
|
||||
alias rb="sudo nixos-rebuild switch --flake ~/nixos-config#"
|
||||
alias dry-rb="sudo nixos-rebuild dry-build --flake ~/nixos-config#"
|
||||
|
||||
if test -f $HOME/.config/fish/kube.fish
|
||||
source $HOME/.config/fish/kube.fish
|
||||
end
|
||||
'';
|
||||
plugins = [
|
||||
# Enable a plugin (here grc for colorized command output) from nixpkgs
|
||||
|
||||
Reference in New Issue
Block a user