This commit is contained in:
Jordan Bancino 2024-04-02 09:00:13 -04:00
parent b2802c2e86
commit 4d88e6f3e9
Signed by: jordan
SSH key fingerprint: SHA256:lRUOrki6+e1vo47tj4BoyALNvOhW/yGXq08lqmaNvkw
2 changed files with 17 additions and 1 deletions

16
.ashrc
View file

@ -239,6 +239,22 @@ generate_prompt() {
PS1="\$(generate_prompt)"
if [ "$(whoami)" = "win7" ]; then
printf 'Microsoft Windows [Version 6.1.7601] \nCopyright <c> 2009 Microsoft Corporation. All rights reserved.\n\n'
generate_prompt() {
printf "C:%s> " "$(pwd | sed -e 's|^/home/|/Users/|g' -e 's|/|\\\\|g')"
}
PS1="\$(generate_prompt)"
title () {
echo -ne "\033]30;$@\007"
}
title "C:\Windows\system32.cmd.exe"
fi
#
# Startup functions - these are executed on every shell start.
#

View file

@ -3,7 +3,7 @@
# Please adapt and uncomment the following lines:
name = Jordan Bancino
email = jordan@bancino.net
signingkey = /home/jordan/.ssh/id_ed25519.pub
signingkey = ~/.ssh/id_ed25519.pub
[push]
autoSetupRemote = yes
followtags = true