From 3ae7365c56ea7f851b9dfdbd92b9b76fabae6e36 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Wed, 27 Dec 2017 04:02:57 -0500 Subject: [PATCH] Fixed aliases to run and cleaned profile --- dotfiles/.bash_aliases | 12 ++++++------ dotfiles/.bash_profile | 9 +++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index 0e00a66..5298171 100644 --- a/dotfiles/.bash_aliases +++ b/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" diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile index 02486f0..93216b1 100644 --- a/dotfiles/.bash_profile +++ b/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"