Browse Source

Fixed aliases to run and cleaned profile

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
3ae7365c56
  1. 12
      dotfiles/.bash_aliases
  2. 9
      dotfiles/.bash_profile

12
dotfiles/.bash_aliases

@ -92,12 +92,12 @@ alias jv="java -version"
# alias jf="export JAVA_HOME=/home/kevin/usr/jdk1.8.0_151 && export PATH=$JAVA_HOME/bin:$PATH"
# g(){ gvim $1 ; }
md() {
multimarkdown -f -o $1.html $1.md
if $in_lab; then
ff $1.html
fi
}
# md() {
# multimarkdown -f -o $1.html $1.md
# if $in_lab; then
# ff $1.html
# fi
# }
rs(){ redshift -O $(($1 * 1000)) ; }
alias rx="redshift -x"

9
dotfiles/.bash_profile

@ -19,4 +19,13 @@ fi
# set PATH so it includes user's private bin directories
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
if [ ! -d "/h/u3/c7/" ]; then
export JAVA_HOME=/home/kevin/usr/java/jdk1.8.0_151/bin
export PATH=$JAVA_HOME/bin:$PATH
export QSYS_ROOTDIR="/home/kevin/usr/altera_lite/16.0/quartus/sopc_builder/bin"
export PATH=$PATH:/home/kevin/usr/altera_lite/16.0/quartus/bin/
export PATH=$PATH:/home/kevin/usr/altera_lite/16.0/modelsim_ase/linuxaloem
fi
xmodmap -e "clear Lock"
Loading…
Cancel
Save