fish updates

This commit is contained in:
2026-03-10 09:29:17 -06:00
parent 75d1bcf15f
commit 5fb34c7188
5 changed files with 97 additions and 124 deletions

View File

@@ -1,5 +1,7 @@
{ pkgs, ... }:
{
imports = [ ./fish.home.nix ];
home.packages = with pkgs; [
vscode-fhs
gnome-software
@@ -38,31 +40,7 @@
package = pkgs.gnome-themes-extra;
};
};
programs.fish = {
enable = true;
shellInit = ''
function commit
git add --all
git commit -m "$argv"
git push
end
# have ctrl+backspace delete previous word
bind \e\[3\;5~ kill-word
# have ctrl+delete delete following word
bind \b backward-kill-word
set -U fish_user_paths ~/.local/bin $fish_user_paths
#set -U fish_user_paths ~/.dotnet $fish_user_paths
#set -U fish_user_paths ~/.dotnet/tools $fish_user_paths
export VISUAL=vim
export EDITOR="$VISUAL"
export DOTNET_WATCH_RESTART_ON_RUDE_EDIT=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
set -x LIBVIRT_DEFAULT_URI qemu:///system
'';
};
home.file = {
".config/lazydocker/config.yml".text = ''
gui: