diff --git a/yard/replacements/home/user/.bash_profile.debian b/yard/replacements/home/user/.bash_profile.debian new file mode 100644 index 0000000..c69a591 --- /dev/null +++ b/yard/replacements/home/user/.bash_profile.debian @@ -0,0 +1,19 @@ +# ~/.bash_profile: executed by bash(1) for login shells. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +umask 022 + +# the rest of this file is commented out. + +# include .bashrc if it exists + +#if [ -f ~/.bashrc ]; then +# source ~/.bashrc +#fi + +# set PATH so it includes user's private bin if it exists + +#if [ -d ~/bin ] ; then +# PATH=~/bin:"${PATH}" +#fi diff --git a/yard/replacements/home/user/.bashrc.debian b/yard/replacements/home/user/.bashrc.debian new file mode 100644 index 0000000..6b09ece --- /dev/null +++ b/yard/replacements/home/user/.bashrc.debian @@ -0,0 +1,20 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. +# see /usr/share/doc/bash/examples/startup-files for examples + +# If running interactively, then: +if [ "$PS1" ]; then + + # enable color support of ls and also add handy aliases + + eval `dircolors` + alias ls='ls --color=auto' + #alias ll='ls -l' + #alias la='ls -A' + #alias l='ls -CF' + #alias dir='ls --color=auto --format=vertical' + #alias vdir='ls --color=auto --format=long' + + # set a fancy prompt + + PS1='\u@\h:\w\$ ' +fi diff --git a/yard/replacements/root/.bashrc.debian b/yard/replacements/root/.bashrc.debian new file mode 100644 index 0000000..88ae6d7 --- /dev/null +++ b/yard/replacements/root/.bashrc.debian @@ -0,0 +1,16 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. + +export PS1='\h:\w\$ ' +umask 022 + +# You may uncomment the following lines if you want `ls' to be colorized: + export LS_OPTIONS='--color=auto' + eval `dircolors` + alias ls='ls $LS_OPTIONS' +# alias ll='ls $LS_OPTIONS -l' +# alias l='ls $LS_OPTIONS -lA' +# +# Some more alias to avoid making mistakes: +# alias rm='rm -i' +# alias cp='cp -i' +# alias mv='mv -i' diff --git a/yard/replacements/root/.profile.debian b/yard/replacements/root/.profile.debian new file mode 100644 index 0000000..89dfd4b --- /dev/null +++ b/yard/replacements/root/.profile.debian @@ -0,0 +1,10 @@ +# ~/.profile: executed by Bourne-compatible login shells. + +if [ -f ~/.bashrc ]; then + . ~/.bashrc +fi + +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 +export PATH + +mesg n