minor fixes

This commit is contained in:
2026-07-09 17:49:47 +01:00
parent 80e245483a
commit 27759c824a
4 changed files with 10 additions and 3 deletions
+7
View File
@@ -26,6 +26,13 @@ function y
builtin cd -- "$cwd"
end
end
function g
if git rev-parse --git-dir >/dev/null 2>&1
gitui
else
echo "Not inside a Git repository."
end
end
function editor
set pos (cat ~/dotfiles/.pos)
y $pos
-2
View File
@@ -14,8 +14,6 @@
vi = "${pkgs.neovim}/bin/nvim";
vim = "${pkgs.neovim}/bin/nvim";
g = "${pkgs.gitui}/bin/gitui";
};
shellInit = builtins.readFile ./config.fish;
+2
View File
@@ -21,6 +21,8 @@ function fish_prompt
set -l user $USER
set -l host (hostname)
printf '\e[24m'
if test -n "$IN_NIX_SHELL"
if test "$IN_NIX_SHELL" = "shell"
set -a markers "nix shell"