.bashrc -> .bashrc.vahagn
This commit is contained in:
62
config/.bash_profile.vahagn
Executable file
62
config/.bash_profile.vahagn
Executable file
@@ -0,0 +1,62 @@
|
||||
#!/bin/bash
|
||||
|
||||
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
#
|
||||
# Find out system details.
|
||||
#
|
||||
os=`uname` #GNU/Linux AIX Solaris
|
||||
cpu=`uname -p` #x86_64 powerpc sparc
|
||||
kernel=`uname -s` #Linux AIX SunOS
|
||||
kversion=`uname -v`
|
||||
krelease=`uname -r`
|
||||
hostnm=`hostname`
|
||||
|
||||
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
#
|
||||
# Bash history
|
||||
#
|
||||
|
||||
# don't put duplicate lines or lines starting with space in the history.
|
||||
# See bash(1) for more options
|
||||
HISTCONTROL=ignoreboth
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=5000
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
||||
# vi edit mode.
|
||||
set -o vi
|
||||
|
||||
export EDITOR=vim
|
||||
export LESS=-R
|
||||
|
||||
## =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
##
|
||||
## User specific environment and startup programs
|
||||
##
|
||||
|
||||
#if [ -e $HOME/bin ]; then
|
||||
# export PATH=$HOME/bin:$PATH
|
||||
#fi
|
||||
#export MYSCRIPTS=$HOME/devel/scripts
|
||||
#if [ -e $MYSCRIPTS/bin ]; then
|
||||
# export PATH=$MYSCRIPTS/bin:$PATH
|
||||
#fi
|
||||
#export MYCFG=${MYSCRIPTS}/config
|
||||
|
||||
## =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
## Set command prompt
|
||||
#[ -x ${MYCFG}/.profile.prompt ] && source ${MYCFG}/.profile.prompt
|
||||
#[ -x ${MYCFG}/.profile.dircolor ] && source ${MYCFG}/.profile.dircolor
|
||||
#[ -x ${MYCFG}/.profile.completion ] && source ${MYCFG}/.profile.completion
|
||||
#[ -x ${MYCFG}/.profile.dev ] && source ${MYCFG}/.profile.dev
|
||||
#[ -x ${MYCFG}/.profile.aliases ] && source ${MYCFG}/.profile.aliases
|
||||
|
||||
#
|
||||
# Clean error level.
|
||||
#
|
||||
[ 1 ]
|
||||
Reference in New Issue
Block a user