small pixel drawing of a pufferfish dotfiles

*
Jes Olson j3s@c3f.net
Tue, 29 Apr 2025 13:37:42 -0500
commit

4fd6e757a9926980aa7e57b96902b42cd7893d95

parent

80252ca9fca1bc1c66446d4c9510b6d3c1f55f56

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M .rc.rc

@@ -41,7 +41,7 @@ fi

. /tmp/ssh-agent-$USER >/dev/null fi -if [ "$TERM" = "foot" ]; then +if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-ghostty" ]; then alias ssh='TERM=xterm-256color ssh' fi
M bin/prompt.gobin/prompt.go

@@ -28,8 +28,8 @@ promptRoot = "~"

} else { promptRoot = filepath.Base(gitRoot) } - // subtract the git toplevel "/home/j3s" - // from the cwd "/home/j3s/code/nongitdir" + // subtract the git toplevel "/home/<user>" + // from the cwd "/home/<user>/code/nongitdir" // to get the suffix "/code/nongitdir" // os.cwd gets the symlink, git does not suffix := cwd[len(gitRoot):]