This repository has been archived on 2022-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
dot-files/.bashrc

38 lines
959 B
Bash

# Check for an interactive session
[ -z "$PS1" ] && return
# Alias' to make bash prettier
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color-auto'
alias egrep='egrep --color-auto'
alias ncmpc='ncmpc -c'
alias knk='knock rekahsoft-mini 7713:tcp 1377:udp && sleep 3s && '
alias knkc='knk ssh rekahsoft-mini '
alias skreen='screen -c /dev/null'
export GREP_COLOR="1;33"
alias grep='grep --color=auto'
# Use source-highlight to make code in less syntax highlighted
export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
export LESS=' -R '
PS1='[\u@\h: \w]\$ '
# Turn off noscroll
stty stop undef
# Modify path variable to allow execution of the following:
# * mathematica / tools
# * nxclient / associated tools
# * maven tools
export PATH=${PATH}:/usr/local/bin:/opt/maven/bin:/opt/NX/bin
# start keychain
eval `keychain --eval --timeout 10 --quiet --agents ssh id_rsa`
# Default editor
export EDITOR="emacs -nw"