30 lines
623 B
Bash
30 lines
623 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *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 grep='grep --color=auto'
|
|
alias digs='dig +short'
|
|
|
|
#PS1='[\u@\h \W]\$ '
|
|
|
|
export PATH=$PATH:/home/jpt/bin
|
|
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`>'
|