Add some MS feeling.

This commit is contained in:
Jan Philipp Timme 2017-08-07 17:36:51 +02:00
parent 0f115ffb75
commit 4860940bc1
1 changed files with 16 additions and 1 deletions

17
.bashrc
View File

@ -5,9 +5,24 @@
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
# Get's printed before executing a command. Not sure what to do with that yet.
#PS0='`date`\n'
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias grep='grep --color=auto' alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
#PS1='[\u@\h \W]\$ '
export PATH=$PATH:/home/jpt/bin export PATH=$PATH:/home/jpt/bin
export SSH_AUTH_SOCK=/home/jpt/keeagent.socket export SSH_AUTH_SOCK=/home/jpt/keeagent.socket
# Let's go Microsoft!
echo "Microsoft Windows [Version 10.0.15063]"
echo "(c) 2017 Microsoft Corporation. Alle Rechte vorbehalten."
echo
# Prepare sed script
echo "s,/,\\\\,g" > .bashrc.sed
# Change prompt. :D
PS1='C:`pwd|sed -f ~/.bashrc.sed`>'