???
This commit is contained in:
parent
b2802c2e86
commit
4d88e6f3e9
2 changed files with 17 additions and 1 deletions
16
.ashrc
16
.ashrc
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue