dotfiles/.bashrc

29 lines
599 B
Bash
Raw Normal View History

2017-03-31 13:54:00 +02:00
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
2017-08-07 17:36:51 +02:00
# Get's printed before executing a command. Not sure what to do with that yet.
#PS0='`date`\n'
2017-03-31 13:54:00 +02:00
alias ls='ls --color=auto'
alias grep='grep --color=auto'
2017-08-07 17:36:51 +02:00
#PS1='[\u@\h \W]\$ '
2017-03-31 13:54:00 +02:00
export PATH=$PATH:/home/jpt/bin
2017-07-15 17:24:34 +02:00
export SSH_AUTH_SOCK=/home/jpt/keeagent.socket
2017-08-07 17:36:51 +02:00
# 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`>'