mirror of
https://github.com/fspc/gbootroot.git
synced 2025-04-04 07:43:22 -04:00
Shell env.
This commit is contained in:
parent
83b2c86539
commit
a00c525c00
19
yard/replacements/home/user/.bash_profile.debian
Normal file
19
yard/replacements/home/user/.bash_profile.debian
Normal file
@ -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
|
20
yard/replacements/home/user/.bashrc.debian
Normal file
20
yard/replacements/home/user/.bashrc.debian
Normal file
@ -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
|
16
yard/replacements/root/.bashrc.debian
Normal file
16
yard/replacements/root/.bashrc.debian
Normal file
@ -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'
|
10
yard/replacements/root/.profile.debian
Normal file
10
yard/replacements/root/.profile.debian
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user