This commit is contained in:
2024-01-28 04:20:39 +00:00
parent dbd492bd10
commit 71f6acc556

View File

@@ -94,6 +94,12 @@
PROMPT_COMMAND = "history -a;"; # ensure synchronization between bash memory and history file
SSH_AUTH_SOCK = "/home/sstent/.ssh/wsl-ssh-agent.sock";
};
initExtra =
''
source ~/.nix-profile/share/git/contrib/completion/git-prompt.sh
# export PS1='\w $(__git_ps1 "(%s) ")$ '
export PS1='\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] $(__git_ps1 "(%s) ")'
'';
bashrcExtra = ''
if [ -e /home/sstent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/sstent/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
# ssh-add -l