perforce_bashrc #5

  • //
  • guest/
  • perforce_software/
  • helix-installer/
  • main/
  • src/
  • perforce_bashrc
  • View
  • Commits
  • Open Download .zip Download (934 B)
export PS1='$USER@${HOSTNAME%%.*}:$PWD '

alias md='mkdir -p'
alias rd=rmdir
alias cls=clear
alias o='p4 opened ...'

# Add 'p4h' help alias to pipe pages of help docs to 'less', a popular pager.
# Sample Usage:  p4h dvcs
function p4h () { p4 help "$*" | less; }

[[ -r /p4/common/bin/p4_vars ]] && source /p4/common/bin/p4_vars EDITME_SDP_INSTANCE

#------------------------------------------------------------------------------
# Independent per-terminal session command history.  Over time, this will
# create a number of history files that can be cleaned with a command like
# this sample, which removes all shell history files over a year old.
# $ find ~/.hist -type f -mtime +365 -exec rm -f {} \;
#------------------------------------------------------------------------------
[[ ! -d ~/.hist ]] && mkdir ~/.hist
export HISTFILESIZE=5000
export HISTTIMEFORMAT="%Y/%m/%d %Z %H:%M:%S "
export HISTFILE=~/.hist/history.$$.$RANDOM
# Change User Description Committed
#5 28931 C. Thomas Tyler Released SDP 2022.1.28929 (2022/07/05).
Copy Up using 'p4 copy -r -b perforce_software-helix-installer-dev'.
#4 27229 C. Thomas Tyler Released Helix Installer 2021.1.27227 (2021/01/20).
#3 25495 C. Thomas Tyler Released.
#2 25284 C. Thomas Tyler Released Rev.
HelixInstaller/MultiArch/2019.1/25282 (2019/03/06).
#1 25260 C. Thomas Tyler Released Rev.
HelixInstaller/MultiArch/2019.1/25250 (2019/03/02).
//guest/perforce_software/helix-installer/dev/src/perforce_bashrc
#1 25227 C. Thomas Tyler Added templates for ~perforce files .bash_profile and .bashrc.